IF arguments

dgavin

Active Member
Joined
Feb 16, 2005
Messages
302
How do I chnge this

=IF(Y5="","",IF(Dutch!D62<Controls!B6,Dutch!J37))

so it calculates

IF Y5="" then "" but if Dutch!D62 is less than Controls!B6 then Dutch!J37, but also if Dutch!D62 is greater than Controls!B6 then 10

Thanks
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
How do I chnge this

=IF(Y5="","",IF(Dutch!D62< Controls!B6,Dutch!J37))

so it calculates

IF Y5="" then "" but if Dutch!D62 is less than Controls!B6 then Dutch!J37, but also if Dutch!D62 is greater than Controls!B6 then 10

Thanks
Perhaps this?

=IF(Y5="","",IF(Dutch!D62< Controls!B6,Dutch!J37,10))

(Put a space after the < if you don't want the board to 'swallow' the rest of your formula :))
 
Last edited:
Upvote 0
=IF(Y5="","",IF(Dutch!D62 < Controls!B6,Dutch!J37,IF(Dutch!D62 > Controls!B6,10)))

What do you want to happen if none of the above is true - Controls/Dutch cells are blank, or they equal each other?
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,544
Members
452,925
Latest member
duyvmex

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