Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 6
Default Cellphone tariff checker

Hello One and All,

I need help with this IF function problem please. It works in scenario 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 in 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 totally beyond
my knowledge. Any further help would be greatly appreciated.

Best Regards

Gareth...

Last edited by Gareth Trow : September 27th 05 at 09:01 PM
  #2   Report Post  
Jon Quixley
 
Posts: n/a
Default


Gareth,

Both formulae are the same - you can check the business end of the
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 tariff
allowance changes from 200 to 400 minutes. With the IF test stripped
out, scenario one will answer with 1.00, change the tariff to 400 and
you will get -3.
It seems to me that what is driving the formula is the contents of
cells C16 and E16 - these are being used as comparators against the
answer of the SUM(...) formula - this is what will cause the answer to
change depending upon what is in these cells

Jon


--
Jon Quixley
------------------------------------------------------------------------
Jon Quixley's Profile: http://www.excelforum.com/member.php...o&userid=25803
View this thread: http://www.excelforum.com/showthread...hreadid=471276

  #3   Report Post  
Junior Member
 
Posts: 6
Default

Hi Jon,

C16 and E16 are the totals boxes for the tariff in Column C and E respectively.

You are 100% correct re what you have stated too.
What is required is:
For example If E16 is less than zero (in this case it is -£3.00) then £0.00 should be displayed. The problem is what is displayed in C16. The logical test answer is £1.00, which is correct but when ENTER is pressed C16 displays £0.00 too. No matter what the value of A15 it always reads £0.00 in C16.
I am using Excel 2000 at work. Would any conflict arise with 2003`s way of inputting formulae?

Best Regards

Gareth...
Quote:
Originally Posted by Jon Quixley
Gareth,

Both formulae are the same - you can check the business end of the
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 tariff
allowance changes from 200 to 400 minutes. With the IF test stripped
out, scenario one will answer with 1.00, change the tariff to 400 and
you will get -3.
It seems to me that what is driving the formula is the contents of
cells C16 and E16 - these are being used as comparators against the
answer of the SUM(...) formula - this is what will cause the answer to
change depending upon what is in these cells

Jon


--
Jon Quixley
------------------------------------------------------------------------
Jon Quixley's Profile: http://www.excelforum.com/member.php...o&userid=25803
View this thread: http://www.excelforum.com/showthread...hreadid=471276
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell phone tariff checker design help Gareth Trow Excel Worksheet Functions 5 September 22nd 05 07:58 AM
schedule checker sctroy Excel Discussion (Misc queries) 0 August 4th 05 06:55 PM
Spell checker help with microsoft site Excel Discussion (Misc queries) 1 June 27th 05 03:33 PM
Is there a grammar checker for Excel? DDC Excel Discussion (Misc queries) 1 May 26th 05 04:36 AM
How do I make a lottery checker Tigerman New Users to Excel 2 March 5th 05 11:19 PM


All times are GMT +1. The time now is 08:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"