Book3.xlsx | |||||||
---|---|---|---|---|---|---|---|
E | F | G | H | I | |||
2 | x | x | x | x | x | ||
3 | x | x | x | ||||
Sheet974 |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
E2:I3 | Expression | =E2="x" | text | NO |
Thank you, but I used the X just as an example, I will not have any content in the cell. So E2 should change colour as E1 falls between the start date Jan 22 (B2) and end date (C2)
I would like them to stay Blank, thank you
Book3.xlsx | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | |||
1 | Jan-22 | Feb-22 | Mar-22 | Apr-22 | May-22 | Jun-22 | Jul-22 | Aug-22 | Sep-22 | Oct-22 | Nov-22 | Dec-22 | Jan-23 | Feb-23 | Mar-23 | Apr-23 | May-23 | |||||
2 | Jan-22 | May-23 | ||||||||||||||||||||
3 | Mar-22 | Dec-22 | ||||||||||||||||||||
Sheet974 (2) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
E2:U3 | Expression | =AND(E$1>=$B2,E$1<=$C2) | text | NO |
Although, having a formula too would help me later when I will need it![]()
Book3.xlsx | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | |||
1 | Jan-22 | Feb-22 | Mar-22 | Apr-22 | May-22 | Jun-22 | Jul-22 | Aug-22 | Sep-22 | Oct-22 | Nov-22 | Dec-22 | Jan-23 | Feb-23 | Mar-23 | Apr-23 | May-23 | |||||
2 | Jan-22 | May-23 | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | |||
3 | Mar-22 | Dec-22 | x | x | x | x | x | x | x | x | x | x | ||||||||||
Sheet974 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E2:U3 | E2 | =IF(AND(E$1>=$B2,E$1<=$C2),"x","") |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
E2:U3 | Expression | =E2="x" | text | NO |