Using Conditional Formatting and ColorFunction?

SDJ98

New Member
Joined
Apr 21, 2011
Messages
27
Hi All,

I have a spreadsheet with a bunch of different metrics (in the columns). My conditional formatting is set to shade the cell if they meet a certain threshold, but some are things like letter grades and others are numbers. My plan was to then count the number of shaded cells at the end. I've got the colorfunction working, however it will not work with conditional formatting. My understanding is that conditional formatting doesn't change the actual cell color.

Is there any way to modify the two or perhaps add in another function. My only other option is to sum about 25 columns x 150 rows manually (looking at the shaded cells and just counting in my head), so any help is GREATLY appreciated.

Thanks.
 
I see what you mean ... I just had a look at Chip's code and it doesn't work for that. Can I ask why you don't use COUNTIFs operating with the relevant conditions? Like =COUNTIF(C2:C4,">"&A1)
 
Upvote 0

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
actually this seems to work, thanks so much. I don't know why I didn't think about the simplest solution other than the fact that I have so much data to do it on (about 40 columns or so), but once I set it up once, I should be fine.

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,548
Messages
6,179,448
Members
452,915
Latest member
hannnahheileen

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