maximillianrg
Board Regular
- Joined
- Aug 7, 2014
- Messages
- 75
- Office Version
- 2016
- Platform
- Windows
Hello Excel Masters
I'm trying to accomplish two things and am hoping you can help me with both. Cell A1 will contain one of 5 values and those values are P0 P1 P2 P3 P4 P5 and cell C1 will contain a date.
Part 1
The first think I'm trying to do is write an if and or statement that basically says if any of the combined conditions below are true return the word "Green" otherwise return the word "white"
A1="P0", C1=TODAY(),
A1="P1", C1=TODAY(),
A1="P1", C1=TODAY()-1,
A1="P2", C1=TODAY(),
A1="P2", C1=TODAY()-1,
A1="P2", C1=TODAY()-2,
A1="P3", C1=TODAY(),
A1="P3", C1=TODAY()-1,
A1="P3", C1=TODAY()-2,
A1="P3", C1=TODAY()-3,
A1="P4", C1=TODAY(),
A1="P4", C1=TODAY()-1,
A1="P4", C1=TODAY()-2,
A1="P4", C1=TODAY()-3,
A1="P4", C1=TODAY()-4,
A1="P5", C1=TODAY(),
A1="P5", C1=TODAY()-1,
A1="P5", C1=TODAY()-2,
A1="P5", C1=TODAY()-3,
A1="P5", C1=TODAY()-4,
A1="P5", C1=TODAY()-5,
Part 2 is I then want to take that formula and drop it into a conditional formatting rule so that if any of the above combined conditions are true, it turns cell C1 green and if false it does nothing. Please not that once we get this working for cell C1 I need to do a fill down for about 100 more rows. Thank you in advance for your help
I'm trying to accomplish two things and am hoping you can help me with both. Cell A1 will contain one of 5 values and those values are P0 P1 P2 P3 P4 P5 and cell C1 will contain a date.
Part 1
The first think I'm trying to do is write an if and or statement that basically says if any of the combined conditions below are true return the word "Green" otherwise return the word "white"
A1="P0", C1=TODAY(),
A1="P1", C1=TODAY(),
A1="P1", C1=TODAY()-1,
A1="P2", C1=TODAY(),
A1="P2", C1=TODAY()-1,
A1="P2", C1=TODAY()-2,
A1="P3", C1=TODAY(),
A1="P3", C1=TODAY()-1,
A1="P3", C1=TODAY()-2,
A1="P3", C1=TODAY()-3,
A1="P4", C1=TODAY(),
A1="P4", C1=TODAY()-1,
A1="P4", C1=TODAY()-2,
A1="P4", C1=TODAY()-3,
A1="P4", C1=TODAY()-4,
A1="P5", C1=TODAY(),
A1="P5", C1=TODAY()-1,
A1="P5", C1=TODAY()-2,
A1="P5", C1=TODAY()-3,
A1="P5", C1=TODAY()-4,
A1="P5", C1=TODAY()-5,
Part 2 is I then want to take that formula and drop it into a conditional formatting rule so that if any of the above combined conditions are true, it turns cell C1 green and if false it does nothing. Please not that once we get this working for cell C1 I need to do a fill down for about 100 more rows. Thank you in advance for your help