Formula/Formatting Help Needed

Puddycat

New Member
Joined
Aug 10, 2007
Messages
42
I would like to to get cell G1 to turn a specific color depending on the matched value value of E1 to the corresponding value in column I. Can someone please assist me with this?


E G I
7.5 ?? 2.1
3.1
3.2
4.1
4.2
4.3
5.1
5.2
5.3
5.4
6.1
6.2
6.3
6.4
6.5
7.1
7.2
7.3
7.4
7.5
8.2
8.3
8.4
8.5
9.3
9.4
9.5
10.4
10.5
11.5
 
Last edited:

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I would like to to get cell G2 to turn a specific color depending on the matched value value of E2 to the corresponding value in column I. Can someone please assist me with this?

Excel Workbook
EFGHI
27.5***2.1
3****3.1
4****3.2
5****4.1
6****4.2
7****4.3
8****5.1
9****5.2
10****5.3
11****5.4
12****6.1
13****6.2
14****6.3
15****6.4
16****6.5
17****7.1
18****7.2
19****7.3
20****7.4
21****7.5
Sheet1
 
Upvote 0
You can use conditional formatting.
But you need to describe in more detail..
What is the threshold...?

If E2 is Greater than say 5, then turn the cell red?
 
Upvote 0
The result in G2 will always have an exact match to one of the numbers listed in the I column. I have also shown the colors that cell G2 should change to.

Excel Workbook
EFGHIJ
1
27.52.1Green
33.1Green
43.2Green
54.1Green
64.2Green
74.3Green
85.1Green
95.2Green
105.3Yellow
115.4Yellow
126.1Green
136.2Yellow
146.3Yellow
156.4Yellow
166.5Yellow
177.1Yellow
187.2Yellow
197.3Yellow
207.4Red
217.5Red
Sheet1
 
Last edited:
Upvote 0
You need 3 conditional formats

Condition 1:
Formula is
=E2>=7.4
Format for Red

Condition 2:
Formula is
=E2>=5.3
Format for Yellow

Condition 3:
Formula is
=E2>=2.1
Format for Green
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,903
Members
452,948
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top