Help on IF-formula with 4 statements

kit99

Active Member
Joined
Mar 17, 2015
Messages
352
In sh2 I have columns D and E with data (turnaround).
With some help from you guys in here, I've calulated the difference, and is showing this as smileys (wingdings) in sh1.
Turnaround: up = red smiley, down = green smiley, unchanged = yellow smiley.
This is done with this IF-formula with 3 statements (works ok):
=IF('sh2'!E2>'sh2'!D2,"L",IF('sh2'!E2<'sh2'!D2,"J",IF('sh2'!E2='sh2'!D2,"K")))

But if the goal at work is to keep the turnaround at under "10", I need to show all readings from column E2, no matter up or down, as "green smiley" as long as they are below this value (statement 4).
In my head this should be someting like this (doesn't work):
=IF('sh2'!E2=<10,"J")ELSE(IF('sh2'!E2>'sh2'!D2,"L",IF('sh2'!E2<'sh2'!D2,"J",IF('sh2'!E2='sh2'!D2,"K"))))

Anyone who know how to make this formula work?
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
I would guess it should look like this: IF('sh2'!E2=<10,"J",IF('sh2'!E2>'sh2'!D2,"L",IF('sh2'!E2<'sh2'!D2,"J",IF('sh2'!E2='sh2'!D2,"K"))))
 
Upvote 0

Forum statistics

Threads
1,214,956
Messages
6,122,465
Members
449,085
Latest member
ExcelError

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