Formula Problem

Chet28

New Member
Joined
Nov 25, 2010
Messages
41
this formula is not working and I can't seem to figuare out what I did wrong,

=IF(B28>0,'Support and Lease'!$D$24,IF(B28>150,'Support and Lease'!$D$25))

the first if statement returns the correct answer but the second if statement does not.

Any suggestions on how to fix this?

thanks- chet
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Because if it is >150 then it is also >0 and it quits out after the first IF is satisfied.

Try this:

=IF(B28>150,'Support and Lease'!$D$25,IF(B28>0,'Support and Lease'!$D$24,""))

Run in order of satisfaction posibilities.
 
Upvote 0
Hi,

With your formula you never get the second IF because if B28 > 150 its also > 0 and returns D24

Maybe you can reverse the conditions

=IF(B28>150,'Support and Lease'!$D$25,IF(B28>0,'Support and Lease'!$D$24))

and what return do you want if B28 <= 0 ?

HTH

M.
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,741
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top