Color Cell

pranamu

Board Regular
Joined
Nov 2, 2011
Messages
56
Hi Expertise,

I want a help to color a cell. If 4 columns in a row are having checkbox and all of them are checked then a cell should be colored 100% otherwise based on the number of check box checked. Please help providing formula or any other tips.

Thanks,
Prakash
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
a cell should be colored 100%
That really doesn't make sense. It seems that you are mixing two different things/concepts together.
Do you want it to return "100%" (which would be a formula)?
Or do you want it displayed a certain color (which would be conditional formatting)?

And exactly what kind of checkboxes are these?
How where they created?
Are they form controls or ActiveX objects?
 
Upvote 0
That really doesn't make sense. It seems that you are mixing two different things/concepts together.
Do you want it to return "100%" (which would be a formula)?
Or do you want it displayed a certain color (which would be conditional formatting)?

And exactly what kind of checkboxes are these?
How where they created?
Are they form controls or ActiveX objects?
The checkbox is from Form Controls. I had seen below formula somewhere, after entering it cell is colored if 4 boxes are checked otherwise color portion is as per selection count. I tried applying same formula but it didn't turned out.

I just need cell to be colored as per box cheked. Thanks Joe4
1674043704739.png
 
Upvote 0
I have never used Sparklines before, but I found the following article.
Please refer to this article on creating sparklines: Excel Sparklines - A Complete Guide with Examples

However, there may also be another issue at play here. In order to use the COUNTIF formula on Form controls, you first needs to map the values of the checkboxes to specific cells (it does not happen automatically). This article here shows you how you can do that: How to Count Checkboxes in Microsoft Excel.
 
Upvote 0

Forum statistics

Threads
1,215,836
Messages
6,127,179
Members
449,368
Latest member
JayHo

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