Drop down list automatic color

Serrre

New Member
Joined
Sep 17, 2024
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have made a drop down list with ''Yes'' and ''No'', when all the cells in the T column are on ''Yes'' i would like the selected cell that says ''FALSE'' on ''General tasks to do'' which is on the left side to automatically color itself. (In this case green)

I had already found a formula but this does not seem to work.
1726550357767.png

Thanks for your time
 
Your original formula would need to be wrapped in the IF function. Try

=IF(AND(put all of your And tests here),"Yes", "No")

The problem with posting pictures of code or formulas is that most people are not going to type out long versions so you'll need to interpret the message given.
1727189231931.png



Any idea why this is not working?

All 13 are on Yes so should it not switch to ''Yes'' now?

Thanks for your time
 
Upvote 0

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Why are you using two counting functions? Should only be the first one?
 
Upvote 0
You've combined the formulas provided by me and Micron into one invalid argument. You can have either the countif()=counta() or countif()=13, but not both. If your range will always be 13 cells, use that formula.
Excel Formula:
=if(countif(R5:R17,"Yes")=13,"Yes","No")
 
Upvote 0
You've combined the formulas provided by me and Micron into one invalid argument. You can have either the countif()=counta() or countif()=13, but not both. If your range will always be 13 cells, use that formula.
Excel Formula:
=if(countif(R5:R17,"Yes")=13,"Yes","No")
Thanks Asbestos_Jen, really helpful. Working now!
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,182
Members
452,615
Latest member
bogeys2birdies

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