Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2011, 08:27 AM
Colin Legg's Avatar
Colin Legg Colin Legg is offline Count By Color Windows 7 32bit Count By Color Office 2010 32bit
Expert
 
Join Date: Jan 2011
Location: UK
Posts: 369
Colin Legg will become famous soon enough
Default

Hi,



I'll explain the problem(s) with counting by colours.

Excel 2007 does not have a built-in worksheet function which can count by colour. This means that you would have to write a custom VBA function (this is called a "UDF") to do it. Even then, the UDF wouldn't automatically recalculate when the colour of a cell changes because changing the colour of a cell doesn't trigger a calculation event. This solution isn't very good.

If the colour of the cell is determined by the name of a person then you should aim to count by name rather than by colour. You can do this using COUNTIF() or you could even use a pivot table.
Reply With Quote
  #2  
Old 06-15-2011, 08:46 AM
beb1227 beb1227 is offline Count By Color Windows XP Count By Color Office 2007
Novice
Count By Color
 
Join Date: May 2011
Posts: 18
beb1227 is on a distinguished road
Default

yeah, that is kinda what I have thought when reading how to do this...if doing it at all.

this is a minor piece of the table I am trying to set up....but would have been cool if it could be done easily.

at this point the names are not put in though.....seeing as the log is already way to large as it is.

thanks for the help on this issue.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Count If Formula beb1227 Excel 10 06-19-2011 11:19 AM
Count By Color Count in Excel zanat0s Excel 3 06-09-2011 10:53 AM
Don't count hidden slides Lu_Argentina PowerPoint 0 10-12-2010 02:12 PM
How to Count from Different Cells? Shahzad Excel 3 06-26-2010 01:06 AM
Don't count 0 in a chart Rmaisone Excel 0 08-21-2006 12:26 PM

Other Forums: Access Forums

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


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