Date/Time Concatenate & Compare to NOW()?

imported_unknown

Active Member
Joined
Jan 13, 2002
Messages
424
I have two seperate cells, one with a date "10/01/02" and the other with a time "=HOUR(TIME(17,0,0))." I am trying to use a conditional statement in a third cell to determine if the NOW() function results is >= to that date and time.

It may be possible for me to change the formatting of each date/time cell to do this but they must remain seperate cells. I can, however, if necessary, concatenate them into a third location. I have been trying this approach, so far, unsuccessfully.

To make it simple, something like:
"=IF((NOW()>=?????),1,0)

I have tried all sorts of concatenate variations and nested/multiple IFs, to no avail.

If anyone has a clue, please help!

Nick/
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
i believe this formula will return your desired result:

=IF(NOW()<A1,0,IF(HOUR(NOW())<B1,0,1))

if A1 contains your date (10/1/2002) and B1 contains your formula =HOUR(TIME(17,0,0))

HTH
kevin
This message was edited by kskinne on 2002-10-01 16:32
 
Upvote 0

Forum statistics

Threads
1,225,071
Messages
6,182,685
Members
453,132
Latest member
nsnodgrass73

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