destiny4adams
New Member
- Joined
- Jul 4, 2023
- Messages
- 14
- Office Version
- 2016
- Platform
- Windows
I am trying to build a spreadsheet that has multiple condition. When I plug in my conditions into conditional formatting, it won't work.
1st condition: I want 3 rows to be filled in blue, with border and vertical lines highlighted, one line no fill/border, then the next 3 rows to be no fill, with border and vertical lines.
2nd condition: If in column D there is the word Refund or Refunded then it is filled with green, with border and vertical lines.
3rd condition: If certain numbers in a text is used in column H then column G has a certain word in the first line of the previous conditions.
4th condition: If there are no numbers in column H then column G is blank in the first line of the previous conditions.
5th condition: If there are ( ) in column F then row 2 in column D say's REFUNDED in bold.
6th condition: If the first line of the section in column E has Agent Fee then the first line (3 line sections) says NT Agent Fee
7th condition: If the first line of the section in column E has a name of an airline in it (Delta, Southwest, United, American, Spirit, etc.) then the first line (3 line sections) says National Travel.
8th condition: If there conditions 6 and 7 are not in column E then column D is blank.
On G2 of my snippet I used this code in the cell, but I know there is a better way to do this.
=IF(ISNUMBER(SEARCH("024003",H6)),"2024 Initial Attack",IF(ISNUMBER(SEARCH("024002",H6)),"2024 Aviation Support", IF(ISNUMBER(SEARCH("240324",H6)),"Windy Deuce", IF(ISNUMBER(SEARCH("240317",H6)),"
Smokehouse Creek",AND(ISBLANK(A1), ISBLANK(B1),""))))
1st condition: I want 3 rows to be filled in blue, with border and vertical lines highlighted, one line no fill/border, then the next 3 rows to be no fill, with border and vertical lines.
2nd condition: If in column D there is the word Refund or Refunded then it is filled with green, with border and vertical lines.
3rd condition: If certain numbers in a text is used in column H then column G has a certain word in the first line of the previous conditions.
4th condition: If there are no numbers in column H then column G is blank in the first line of the previous conditions.
5th condition: If there are ( ) in column F then row 2 in column D say's REFUNDED in bold.
6th condition: If the first line of the section in column E has Agent Fee then the first line (3 line sections) says NT Agent Fee
7th condition: If the first line of the section in column E has a name of an airline in it (Delta, Southwest, United, American, Spirit, etc.) then the first line (3 line sections) says National Travel.
8th condition: If there conditions 6 and 7 are not in column E then column D is blank.
On G2 of my snippet I used this code in the cell, but I know there is a better way to do this.
=IF(ISNUMBER(SEARCH("024003",H6)),"2024 Initial Attack",IF(ISNUMBER(SEARCH("024002",H6)),"2024 Aviation Support", IF(ISNUMBER(SEARCH("240324",H6)),"Windy Deuce", IF(ISNUMBER(SEARCH("240317",H6)),"
Smokehouse Creek",AND(ISBLANK(A1), ISBLANK(B1),""))))