View Single Post
  #2  
Old 08-17-2007, 10:59 AM
daddylonglegs's Avatar
daddylonglegs daddylonglegs is offline
Forum Moderator
 
Join Date: 14 Jan 2006
Location: England
Posts: 5,166
daddylonglegs is a jewel in the rough
Quote:
Originally Posted by jswarb001
Hello Iwonder if you can help with following scenario in constructing an IF formula:

If the figure in cell L8 is greater than 37.5 , then in cell P8 enter the difference (ie L8-37.5). But if the figure in C8 happens to be 40, then show the difference in P8 as L8- C8 instead providing it exceeds 0.

I can do the first bit but cant get the second arguement to work.

manythanks for any help
Try in P8

=MAX(0,L8-IF(C8=40,40,37.5))
Reply With Quote