Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default COUNTIF based on Format...

What is the formula for counting how many BOLD cells are located in a row or
worksheet?

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default COUNTIF based on Format...

see:

http://www.cpearson.com/excel/colors.htm


--
Gary''s Student
gsnu200710


"Steve" wrote:

What is the formula for counting how many BOLD cells are located in a row or
worksheet?

Thank you in advance.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default COUNTIF based on Format...

Or a UDF

Function CountBold(rg As Range) As Long
''originally posted by Ron Rosenfeld
Dim c As Range
For Each c In rg
CountBold = CountBold - c.Font.Bold
Next c
End Function

usage is: =CountBold(range)


Gord Dibben MS Excel MVP


On Thu, 15 Mar 2007 17:51:11 -0700, Gary''s Student
wrote:

see:

http://www.cpearson.com/excel/colors.htm


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula Help based around countif and counta Mark McDonough Excel Discussion (Misc queries) 2 June 6th 06 02:11 PM
how do i format a cell based on format of a range of cells? Chris Hardick Excel Discussion (Misc queries) 2 April 3rd 06 08:54 AM
countif based on fill color edmcf@mot Excel Worksheet Functions 1 January 13th 06 02:22 AM
Countif based on 2 criteria N E Body Excel Worksheet Functions 5 August 22nd 05 02:15 AM
Combining IF and COUNTIF based on two columns maxtrixx Excel Discussion (Misc queries) 5 March 31st 05 06:21 PM


All times are GMT +1. The time now is 08:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"