Hello,
I’m trying to color fill cells in a row using conditional formatting for cells that are under a DAY date and based on two sets of Start and End Dates.
I have a top row showing days in each cell in sequence (F1 is 8/1/22, G1 is 8/2/22, H1 is 8/3/22 etc.) I have a Start Date in cell D2 and End Date in cell E2.
I’m using the below formula to put a “.” in each cell in the row from the Start Date to the End Date. I’m using the “.” for conditional formatting to color fill each of those cells. The formula works with one set of Start and End Dates, but I need to add a 2nd set of Start and End Dates in the same row and also color fill those cells based the 2nd set of dates. Essentially, the end result would show two sets of cells filled in two different places on the same row based on the two sets of Start and End Dates.
I’m assuming a nested IF formula but I can’t get anything to work, I’m not very experienced with this and this may not be the cleanest way to do this, but it’s the only way I could get it to work, at least for the single set of Start/End dates.
=IF((((F1>=(DATE(YEAR($D$2),MONTH($D$2),DAY($D$2)*1)))*(F1<=(DATE(YEAR($E$2),MONTH($E$2),DAY($E$2)*1)))))=0,"",".")
Thank you in advance for any help or guidance with this.
I’m trying to color fill cells in a row using conditional formatting for cells that are under a DAY date and based on two sets of Start and End Dates.
I have a top row showing days in each cell in sequence (F1 is 8/1/22, G1 is 8/2/22, H1 is 8/3/22 etc.) I have a Start Date in cell D2 and End Date in cell E2.
I’m using the below formula to put a “.” in each cell in the row from the Start Date to the End Date. I’m using the “.” for conditional formatting to color fill each of those cells. The formula works with one set of Start and End Dates, but I need to add a 2nd set of Start and End Dates in the same row and also color fill those cells based the 2nd set of dates. Essentially, the end result would show two sets of cells filled in two different places on the same row based on the two sets of Start and End Dates.
I’m assuming a nested IF formula but I can’t get anything to work, I’m not very experienced with this and this may not be the cleanest way to do this, but it’s the only way I could get it to work, at least for the single set of Start/End dates.
=IF((((F1>=(DATE(YEAR($D$2),MONTH($D$2),DAY($D$2)*1)))*(F1<=(DATE(YEAR($E$2),MONTH($E$2),DAY($E$2)*1)))))=0,"",".")
Thank you in advance for any help or guidance with this.