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

30/11/2018 21:1003/12/2018
08:00
Late

<tbody>
</tbody>

=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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Thanks for that jtakw
I should know better by now & have corrected it.
 
Upvote 0

Forum statistics

Threads
1,213,560
Messages
6,114,309
Members
448,564
Latest member
ED38

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