I'm using Excel 2003. Is there a way to conditionally format a row of cells based on a condition in one cell? I have a date, that when it passes, I want to color the whole row red for "expired" or "past due".
I'm using Excel 2003. Is there a way to conditionally format a row of cells based on a condition in one cell? I have a date, that when it passes, I want to color the whole row red for "expired" or "past due".
Just highlight the whole range and use a static cell reference in the formula - something like this:
Formula:
Please Login or Register to view this content.
Edit: If you want to be able to drag this down rows, leave the $ sign off the number ($A1). If you want to drag across columns, take the $ off the letter (A$1).
Edit2: changed > to < in formula (d'oh!).
Last edited by Aardigspook; 11-10-2016 at 07:48 AM. Reason: 1. Add option for dragging / 2. Correct > to <
Regards,
Aardigspook
I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
You don't need to give me rep if I helped, but a thank-you is nice.
Thank you. That worked perfectly. Less than TODAY() for expiration.![]()
One additional thing I need to add. Sometimes I want to leave the expiration date blank. Doing so causes Excel to mark the row 'expired', so I guess the blank date evaluates as less than TODAY(). Also, as I'm entering an item that will have an expiration date, the row is marked as expired until I get to the column with the date and fill it in, which is a small annoyance.
Can this be fixed in the formula?
* Edit *
I think I figured it out, but I know that dates can be tricky. Would this be the best way?
=AND($F19<>"",$F19<TOD())
Last edited by Carson Dyle; 11-09-2016 at 06:32 PM.
n/m. I think that works.
Last edited by Carson Dyle; 11-09-2016 at 06:50 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks