fingermouse
Board Regular
- Joined
- Dec 13, 2013
- Messages
- 117
[TABLE="class: grid, width: 500, align: right"]
<tbody>[TR]
[TD]01/08/2018
[/TD]
[TD]27/08/2018
[/TD]
[TD]If the amount of days between A1 and B1 is less than or equal to 26, make B1 green in colour
[/TD]
[/TR]
[TR]
[TD]01/08/2018
[/TD]
[TD]28/08/2018
[/TD]
[TD]If the amount of days between A2 and B2 is greater than 26 but less than 31, make B2 amber in colour
[/TD]
[/TR]
[TR]
[TD]01/08/2018
[/TD]
[TD]01/09/2018
[/TD]
[TD]If the amount of days between A3 and B3 is greater than or equal to 31, make B3 red in colour
[/TD]
[/TR]
</tbody>[/TABLE]
Hi,
I need an excel formula which will change the colour of a cell based on the number of days between two dates.
I presume I would have to enter this formula in the 'new formatting rule' dialogue box in the conditional formatting menu.
(sorry,I cant seem to be able to add the table after the text! Also, the date format is DD/MM/YYYY.)
Any help much appreciated!
thanks, Cal.
<tbody>[TR]
[TD]01/08/2018
[/TD]
[TD]27/08/2018
[/TD]
[TD]If the amount of days between A1 and B1 is less than or equal to 26, make B1 green in colour
[/TD]
[/TR]
[TR]
[TD]01/08/2018
[/TD]
[TD]28/08/2018
[/TD]
[TD]If the amount of days between A2 and B2 is greater than 26 but less than 31, make B2 amber in colour
[/TD]
[/TR]
[TR]
[TD]01/08/2018
[/TD]
[TD]01/09/2018
[/TD]
[TD]If the amount of days between A3 and B3 is greater than or equal to 31, make B3 red in colour
[/TD]
[/TR]
</tbody>[/TABLE]
Hi,
I need an excel formula which will change the colour of a cell based on the number of days between two dates.
I presume I would have to enter this formula in the 'new formatting rule' dialogue box in the conditional formatting menu.
(sorry,I cant seem to be able to add the table after the text! Also, the date format is DD/MM/YYYY.)
Any help much appreciated!
thanks, Cal.