Cellphone tariff checker

G

Gareth Trow

Hello One and All,

I need help with this IF function problem please. It works in scenari
2 but gives a zero in Scenario 1.

Below are two examples with the different cell amounts and their
units.
NB. After the first cell references C16 and E16 my <(less than symbol
disappears from what i can see right here on this page, however i
Excel this doesn`t happen.

Scenario 1:
=IF(C160,0,SUM((A5)-(A5/A15)*C3)*C5)
C16 is the formula cell only
A5 is the input cell and is 50 minutes of talk time used to land lines
peaktime,
A15 is 250 minutes of total talk time used for all types of calls,
C3 is the tariff call allowance of 200 minutes
C5 is £0.10 the call cost for land lines at peak time per minute
This should give an answer of £1.00 (but shows £0.00)

Scenario 2:
=IF(E160,0,SUM((A5)-(A5/A15)*E3)*E5)
E16 is the formula cell only
A5 is the input cell and is 50 minutes of talk time used to land lines
peaktime,
A15 is 250 minutes of total talk time used for all types of calls,
E3 is the tariff call allowance of 400 minutes
E5 is £0.10 the call cost for land lines at peak time per minute
This should give an answer of £0.00 (and does)

Circular reference keeps flagging up but when i check the formula with
the logical test it gives the correct answer everytime. When i close
the formula check box £0.00 is shown in the cell regardless of whether
the value is higher than zero or not. Very confusing and totall
beyond
my knowledge. Any further help would be greatly appreciated.

Best Regards

Gareth..
 
J

Jon Quixley

Gareth,

Both formulae are the same - you can check the business end of th
formula by taking off the IF part so you have SUM((a5)-(a5/a15)*c3)*c5
The only thing that changes between the scenario 1 and 2 is the tarif
allowance changes from 200 to 400 minutes. With the IF test strippe
out, scenario one will answer with 1.00, change the tariff to 400 an
you will get -3.
It seems to me that what is driving the formula is the contents o
cells C16 and E16 - these are being used as comparators against th
answer of the SUM(...) formula - this is what will cause the answer t
change depending upon what is in these cells

Jo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top