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
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
I managed to get this CF formula to work across a row, so you would need to alter the range (T?:T?) and the count value (13?)
=COUNTIF(C3:K3,"x")=9

My question marks are because I can't tell what your row numbers are. This suggestion is based on what looks like a static range of 13 values. If the count is dynamic, then a fixed number probably won't work for you. You'll also need to use Yes (or no as the case may be) and not "x" as I did. I didn't test to see if the case of the searched value matters (e.g. Yes vs yes vs YES)
 
Upvote 0
For conditional formatting the cell that currently says FALSE (G11?), try the below, with T5:T17 replaced as needed to match your actual data range
Excel Formula:
=countif(T5:T17,"yes")=counta(T5:T17)
 
Upvote 0
I managed to get this CF formula to work across a row, so you would need to alter the range (T?:T?) and the count value (13?)
=COUNTIF(C3:K3,"x")=9

My question marks are because I can't tell what your row numbers are. This suggestion is based on what looks like a static range of 13 values. If the count is dynamic, then a fixed number probably won't work for you. You'll also need to use Yes (or no as the case may be) and not "x" as I did. I didn't test to see if the case of the searched value matters (e.g. Yes vs yes vs YES)
1727104760625.png

Hey Micron, thanks.

It is counting the amount of times it says 'Yes' now, but how do i make it so it automatically turns a green color now?
 
Upvote 0
For conditional formatting the cell that currently says FALSE (G11?), try the below, with T5:T17 replaced as needed to match your actual data range
Excel Formula:
=countif(T5:T17,"yes")=counta(T5:T17)
Hey Asbestos_Jen, Thanks!

The formula now gives a ''TRUE'' instead of FALSE, but how do i now make it a green color?

1727104924461.png
 
Upvote 0
My formula is a CF formula (Conditional Formatting). I suspect you only used it as a cell formula on G13. You must create a CF rule for G13 and the other cells and use that formula or a version of it for the other cells.
 
Upvote 0
My formula is a CF formula (Conditional Formatting). I suspect you only used it as a cell formula on G13. You must create a CF rule for G13 and the other cells and use that formula or a version of it for the other cells.
It is working now.

Now is it possible to make it so it will say something else instead of True/False like Yes/no?

thanks for your time,
 
Upvote 0
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.
 
Upvote 0
For the formula I gave you in post #3, change G11 to:
Excel Formula:
=if(countif(T5:T17,"yes")=counta(T5:T17),"Yes","No")
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,181
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