Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tan.
 
Posts: n/a
Default IF sum is GreaterThan 0... why wont this work!?


This is what I think should work
=IF((GREATERTHAN((G56-L4-N6),0)),0,(G56-L4-N6))


But it doesn't.

If the sum is in minus figures I simply want the cell to display 0
Surely not that hard!?

Any help much appreciated.
Thanks

Tan.


--
Tan.
------------------------------------------------------------------------
Tan.'s Profile: http://www.excelforum.com/member.php...o&userid=30616
View this thread: http://www.excelforum.com/showthread...hreadid=502666

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default IF sum is GreaterThan 0... why wont this work!?


Tan,

Try this.

=IF(SUM(G56-L4-N6)<=0,0,SUM(G56-L4-N6))

Does that help?

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=502666

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Harlan Grove
 
Posts: n/a
Default IF sum is GreaterThan 0... why wont this work!?

SteveG wrote...
Try this.

=IF(SUM(G56-L4-N6)<=0,0,SUM(G56-L4-N6))

Does that help?


Why use SUM? Why use IF?

=MAX(0,G56-L4-N6)

should produce the same result.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tan.
 
Posts: n/a
Default IF sum is GreaterThan 0... why wont this work!?


Thanks, it did help albeit indirectly.

After a few trials and errors juggling it about I decided to do the SUM
in a seperate equasion and ended up with this which worked:

=IF(M6<=0,0,M6)

Thanks again
:)
Tan.


--
Tan.
------------------------------------------------------------------------
Tan.'s Profile: http://www.excelforum.com/member.php...o&userid=30616
View this thread: http://www.excelforum.com/showthread...hreadid=502666

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
Dates and Recomended Graphing Programs to work with excel? John Charts and Charting in Excel 2 December 8th 05 07:58 PM
A search for $ in a formula use to work now it does not work JuneJuly Excel Discussion (Misc queries) 2 November 30th 05 10:13 PM
Moving a sheet from one work book to another? WTG Excel Worksheet Functions 1 November 3rd 05 07:12 PM
My links no longer work . . . mike Excel Discussion (Misc queries) 8 October 27th 05 11:59 PM
How to get saved old saved work that was saved over? Maral Excel Discussion (Misc queries) 1 February 20th 05 08:59 PM


All times are GMT +1. The time now is 09:25 AM.

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"