RAJESH1960
Banned for repeated rules violations
- Joined
- Mar 26, 2020
- Messages
- 2,313
- Office Version
- 2019
- Platform
- Windows
Hello, I have this data in excel sheet where column E has some values. Some of the cells are of 2 different colors. I am trying to get a formula in column D where if the color of the cell is Pink I want it to display B, If it is yellow it should display C, and all other cells it should display A as in the image.
Book1 | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | 1 | 2 | 3 | 4 | 5 | ||
2 | A | 120.00 | |||||
3 | A | 220.00 | |||||
4 | B | 250.00 | |||||
5 | B | 450.00 | |||||
6 | A | 600.00 | |||||
7 | A | 1080.00 | |||||
8 | A | 1080.00 | |||||
9 | A | 1350.00 | |||||
10 | B | 1350.00 | |||||
11 | B | 1440.00 | |||||
12 | A | 1460.00 | |||||
13 | A | 3560.00 | |||||
14 | C | 3560.00 | |||||
15 | C | 3560.00 | |||||
16 | A | 3750.00 | |||||
17 | A | 4640.00 | |||||
18 | A | 4850.00 | |||||
19 | C | 12558.00 | |||||
20 | C | 29400.00 | |||||
Query |