Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-21-2013, 11:04 AM
trueimage trueimage is offline How can I count cells based on their fill color that was set by conditional format Windows 7 64bit How can I count cells based on their fill color that was set by conditional format Office 2010 32bit
Novice
How can I count cells based on their fill color that was set by conditional format
 
Join Date: Sep 2013
Posts: 4
trueimage is on a distinguished road
Question How can I count cells based on their fill color that was set by conditional format

I have a range of cells that has conditional format applied to fill the cell with yellow for example.



I want to be able to get a count of how many of those cells are filled yellow. The normal "count by color" formulas don't seem to work because of the conditional formatting.

I'd like the count to be updated whenever any cell in the workbook is updated.

Any help would be appreciated
Reply With Quote
  #2  
Old 10-25-2013, 12:08 PM
BobBridges's Avatar
BobBridges BobBridges is offline How can I count cells based on their fill color that was set by conditional format Windows 7 64bit How can I count cells based on their fill color that was set by conditional format Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

Hi, trueimage. You ask this in the programming forum, so I guess you're looking for a VBA solution. It seems to me you want to write a Worksheet_Change subroutine, one that already knows what range you want to check. Every time you change something on the worksheet that program will run, automatically (because it's named "Worksheet_Change" and because you will have placed it in the code module for that worksheet—I'll show you how, if you don't know already). You'll write the program to look through that range and add up the count of yellow cells, then put that count into the proper place.

How much of that do you already know how to do, and how much of it do you need help with?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I count cells based on their fill color that was set by conditional format Count Conditional Formatting? tinfanide Excel 2 10-18-2013 06:19 AM
How can I count cells based on their fill color that was set by conditional format How-TO format cells (FILL) by comparing cells zanat0s Excel 1 07-03-2012 04:27 AM
How can I count cells based on their fill color that was set by conditional format Conditional color fill based on presence of data avanderh Excel 11 07-28-2011 09:10 AM
How can I fill cell color starting from Cell D5 using Conditional formatting instead Learner7 Excel 0 07-08-2010 05:50 AM
Count range cells eliminating merge cells danbenedek Excel 0 06-15-2010 12:40 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:16 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft