M
mlv
I have a column of dates (assume A1:A45) and I would like to highlight the
first date in the column (reading top to bottom) that is equal to, or
nearest to a specified date (in Cell B1), but NOT less than the specified
date.
The dates will all be from the same month and will be (should be!) in
chronological order, reading top to bottom. The same date may appear more
than once in the column. Some dates will not appear at all.
For example:
A1 02/04/2008
A2 03/04/2008
A3 05/04/2008
A4 05/04/2008
A5 10/04/2008
A6 13/04/2008
A7 13/04/2008
A8 17/04/2008
A9 26/04/2008
etc.
If the specified date is 05/04/2008, Cell A3 would be highlighted.
If the specified date is 11/04/2008, Cell A6 would be highlighted.
If the specified date is 18/04/2008, Cell A9 would be highlighted.
If the specified date is 27/04/2008, and there are no further dates entered
beyond A9, then no cells would be highlighted.
Is this achievable without getting too complicated?
Am I looking at Conditional Formatting and a helper column?
TIA
first date in the column (reading top to bottom) that is equal to, or
nearest to a specified date (in Cell B1), but NOT less than the specified
date.
The dates will all be from the same month and will be (should be!) in
chronological order, reading top to bottom. The same date may appear more
than once in the column. Some dates will not appear at all.
For example:
A1 02/04/2008
A2 03/04/2008
A3 05/04/2008
A4 05/04/2008
A5 10/04/2008
A6 13/04/2008
A7 13/04/2008
A8 17/04/2008
A9 26/04/2008
etc.
If the specified date is 05/04/2008, Cell A3 would be highlighted.
If the specified date is 11/04/2008, Cell A6 would be highlighted.
If the specified date is 18/04/2008, Cell A9 would be highlighted.
If the specified date is 27/04/2008, and there are no further dates entered
beyond A9, then no cells would be highlighted.
Is this achievable without getting too complicated?
Am I looking at Conditional Formatting and a helper column?
TIA