Help a beginner please! Conditional formatting based on value of another cell

Carl_London

New Member
Joined
Feb 28, 2023
Messages
19
Office Version
  1. 2016
Platform
  1. Windows
Here is what I am trying to achieve but failing!

Basically, to change what appears in cell A2 based on the value of cell A1
If A1 is less than 10 then A2 is blank, if the value of A1 is between 10 and 29 then A2 would read BRONZE and coloured as shown in C3, and so on.
I am sure it's an easy job for an Excel ninja but I am struggling!

Thanks in advance for any help! Carl
1695652508774.png
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
To show the wording of color in B2
B2=LOOKUP(A1,{0,10,30,70},{"","BRONZE","SILVER","GOLD"})

To show different color by conditional formatting
1. Select A2
2. conditional formatting --> formula
=and(a1>=10,a1<=29)
3. choose color (BRONZE), exit to save
4. repeat steps 1-23 for other color
(SILVER)=and(a1>=30,a1<=69)
(GOLD)=a1>69
 
Upvote 0
To show the wording of color in B2
B2=LOOKUP(A1,{0,10,30,70},{"","BRONZE","SILVER","GOLD"})

To show different color by conditional formatting
1. Select A2
2. conditional formatting --> formula
=and(a1>=10,a1<=29)
3. choose color (BRONZE), exit to save
4. repeat steps 1-23 for other color
(SILVER)=and(a1>=30,a1<=69)
(GOLD)=a1>69
Perfect, thanks!

I am enjoying learning Excel basics.

Have a great day. Best wishes, Carl
 
Upvote 0
look at this:

Mr excel questions 66.xlsm
ABCDE
145BRONZEFALSE=A1>=70
25SILVERTRUE=AND(A1<70,A1>=30)
310GOLDFALSE=AND(A2<30,A2>=10)
411
529
630
769
870
Carl London 2
Cell Formulas
RangeFormula
D1D1=A1>=70
E1:E3E1=FORMULATEXT(D1)
D2D2=AND(A1<70,A1>=30)
D3D3=AND(A2<30,A2>=10)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A8Expression=AND(A1<30,A1>=10)textNO
A1:A8Expression=AND(A1<70,A1>=30)textNO
A1:A8Expression=A1>=70textNO



1695654190207.png
 
Upvote 0

Forum statistics

Threads
1,215,214
Messages
6,123,664
Members
449,114
Latest member
aides

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