strongman86
Board Regular
- Joined
- Feb 15, 2017
- Messages
- 115
- Office Version
- 2019
- Platform
- Windows
Hi all,
Looking for formula to use in conditional formatting to colour cells if 2 criterias are met. Conditional formatting will be applied to column D. Numbers on column D will be compared with numbers in column B. For example: If D1 = B1 & if C1 = "PM" then highlight D1 cell, if C = AM then don't colour. Also if any cell in D is 0 then colour only if adjcent C cell is "AM". End result should be D1-highlighted,D2-NOT highlighted, D3-NOT highlighted,D4-highlighted,D5-highlighted,D6-NOT highlighted.
Thanks.
Looking for formula to use in conditional formatting to colour cells if 2 criterias are met. Conditional formatting will be applied to column D. Numbers on column D will be compared with numbers in column B. For example: If D1 = B1 & if C1 = "PM" then highlight D1 cell, if C = AM then don't colour. Also if any cell in D is 0 then colour only if adjcent C cell is "AM". End result should be D1-highlighted,D2-NOT highlighted, D3-NOT highlighted,D4-highlighted,D5-highlighted,D6-NOT highlighted.
Thanks.
B | C | D | |
1 | 5 | PM | 5 |
2 | 6 | AM | 0 |
3 | 1 | AM | 0 |
4 | 2 | PM | 2 |
5 | 3 | PM | 3 |
6 | 2 | PM | 0 |