Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel 2000 - Need assistance with DATE/TIME 2

Status
Not open for further replies.

ladyck3

Technical User
Jan 3, 2003
800
US
If the spreadsheet shows the following information:
Col A - Due Date Col B - Finish Date
10/23/2003 10/23/03 1:43:23pm

In C the following formula is used:
=IF((B3>A3),"late","on time")

The result should come back ON TIME because it has been completed on the same date and is NOT late. However, the first column, without times listed, assumes it is Midnight, so anything after midnight is considered late.

What formula can I use to have it disregard the times and concerntrate on the DATE ONLY. We can do a text to column and split the date/time in Column B but that is now how we need the data to be.

Any help would be greatly appreciated.....

Thanks in advance.
LadyCk3
 
Just add 1 in your formula:
=IF((B3>A3+1),"late","on time")

combo

 
give this a try;

=IF((ROUND(B2,0)>A2),"late","on time")

Regards,

Wray
 
Hi, try this:
=IF(rounddown(B3,0)>A3),"late","on time")
Excel days are saved as whole numbers and hours/minutes as fractions. Today May 30 is 37771 and 12 noon would be 37771.5 So you can rounddown the delivery time to remove the time of day.
 
Wray, IfThenElvis, thanks so much... Wray the ROUND function did it, but because the ROUNDDOWN was so close, well IfThenElvis, thought I'd give you a star too!!!

Thanks folks!

Combo, its not the function we are using but I do appreciate you helping as well ... the ROUND thing really rocks...

Thanks again!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top