I need a formula in conditional formatting in excel 2010 to change color when the date time group of one cell "10aug20142105" is subtracted from and other cell "11aug20140150". Is this possible?
I need a formula in conditional formatting in excel 2010 to change color when the date time group of one cell "10aug20142105" is subtracted from and other cell "11aug20140150". Is this possible?
Can you give some examples with real cell references? (Ideally, attach worksheet showing what you want - Go Advanced>Manage Attachments)
So if time one is in A1 and time 2 is in B1, you want to change the color of the cell if C1 = B1-A1? Are there other options for C1?
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
excel example.xlsx
The attach is generally what I am looking for. The Date Time group is in text. Again, any help is appreciated.
Paul
Here is the formula to subtract the two
=DATEVALUE(LEFT(E5,LEN(E5)-5))+(MID(E5,LEN(E5)-3,2)&":"&RIGHT(E5,2))-(DATEVALUE(LEFT(C5,LEN(C5)-5))+(MID(C5,LEN(C5)-3,2)&":"&RIGHT(C5,2)))
values less than 1 are less than 1 full day (24 hours)
Here is the conditional Formatting formula to turn things blue.
=DATEVALUE(LEFT($E5,LEN($E5)-5))-(DATEVALUE(LEFT($C5,LEN($C5)-5)))>=1
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks