IF Statement Problem

jabel

New Member
Joined
Apr 22, 2011
Messages
2
I am trying to write an IF statement in cell I6:
cell H6 contains a time, Cell H4 contains the fastest time. I want I6 to display 1D if HG is between H4 and 0.499, 2D if HG is between H4 and 0.998, 3D if H6 is between H4 and 1.498 and 4D if H6 is between H4 and 1.998
Here is my formula:
=IF(H6<=$H$4+0.499,"1D"),IF(H6<=$H$4+0.998,"2D"),IF(H6<=$H$4+1.498,"3D"),IF(H6>=$H$4+1.998,"4D")

I keep getting the #VALUE! error
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Perhaps

=IF(H6<=$H$4+0.499,"1D",IF(H6<=$H$4+0.998,"2D",IF(H6<=$H$4+1.498,"3D",IF(H6>=$H$4+1.998,"4D"))))
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,543
Members
452,924
Latest member
JackiG

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