ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Limelight Media - ExcelTip.com Books > F1 Get the most out of Excel Formulas & Functions

Notices

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 08-17-2007, 10:54 AM
jswarb001 jswarb001 is offline
Registered User
 
Join Date: 09 Jul 2007
Posts: 28
jswarb001 is on a distinguished road
Multiple If Formula

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
Reply With Quote
  #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: 4,920
daddylonglegs will become famous soon enough daddylonglegs will become famous soon enough
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
  #3  
Old 08-17-2007, 11:29 AM
jswarb001 jswarb001 is offline
Registered User
 
Join Date: 09 Jul 2007
Posts: 28
jswarb001 is on a distinguished road
It works. Thankyou
Reply With Quote
Reply

Bookmarks

New topics in F1 Get the most out of Excel Formulas & Functions


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


All times are GMT -4. The time now is 01:35 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0