Automatically add Text and fill color green in Cell

MikePoolDancer

New Member
Joined
Jan 29, 2022
Messages
10
Office Version
  1. 365
Platform
  1. MacOS
Hello

If value in cell A3 is bigger then value in cell A2 then in cell A1 should get filled with in green color and Text Q automatically.


could you please advice ?

Have a wonderful day
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Well for my visibility is it the best.

thank you and enjoy the rest of Day, i like this FORUM

(y)
you;re welcome. I'm pleased you like the forum.
I must admit, my last post was horribly written, my apologies. I hope you made some since of it and that you have a solution that works for you.
 
Upvote 0
Good Morning


I tried the version when both number are equal in cell A3 cell value 1 and cell A2 value 1 then cell A1 sould get fill color green and text Q. Does the formula then look like this ? Wich doesn t work...

AND(A3“=“A2,A1="Q")
OR
AND(A3"<" or “>”A2,A1="Q")

you give me those signs but you didn t show where to put them:
  • “=“
  • "<" or “>”
Have a nice morning
 
Upvote 0
I'm really unsure of your objective with your question. What are you trying to learn with this question?

But, look at this and reply with if it is as you want.
You want a Q in cell A1:
IF
1. A2>A3
2. A3>= A2
3. A2 = 1, and A3 = 1
(so, the only time you don't want a "Q" in A1 is when:
A2=A3, A2<>1 )​

and for cell coloring
you want Red when A2>A3
you want Green when A3>=A2

Book1
A
1Q
22
32
Sheet3
Cell Formulas
RangeFormula
A1A1=IF(OR(A2>A3,AND(A2=1,A3=1),A3>=A2),"Q","")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1Expression=AND(A2>A3,A1="Q")textNO
A1Expression=OR(AND(A3>=A2,A1="Q"),AND(A2=1,A3=1))textNO
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,320
Members
452,635
Latest member
laura12345

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