help with if formula

Rubygas14

New Member
Joined
Jun 26, 2017
Messages
20
Hi i have 2 dates and using the below formula due to different months this is not calculating correctly

[TABLE="width: 365"]
<tbody>[TR]
[TD]30/11/2018 21:10[/TD]
[TD][/TD]
[TD]03/12/2018
08:00[/TD]
[TD]Late[/TD]
[/TR]
</tbody>[/TABLE]

=IF(I3< l3,"ok","late")
<l3,"ok","late")
<l3,"ok","late")
Code:
<l3,"ok","late")[ 
Can Anyone Help 

Thanks</l3,"ok","late")[code]<l3,"ok","late")[></l3,"ok","late")
 
Last edited by a moderator:
That formula, will indeed convert the values to text.
Try this in place of the formula in post#1
=IF(DATEVALUE(I3)<DATEVALUE(L3),"Ok","Late")

Hi,

Fluff's formula got cut off:

=IF(DATEVALUE(I3) < DATEVALUE(L3),"Ok","Late")
 
Upvote 0

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Thanks for that jtakw
I should know better by now & have corrected it.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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