ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Counting depending on kind of letters (https://www.excelbanter.com/excel-discussion-misc-queries/139948-counting-depending-kind-letters.html)

FC

Counting depending on kind of letters
 
Can somebody provide me with a FORMULA, CONDITIONAL FORMATTING or a
way to count in a column, let's say, how many CELLS are written in specific
kind of letters? ( ex. arial, britanic bold, etc.).Thanks in advance.

Bernard Liengme

Counting depending on kind of letters
 
Visit www.cpearson.com.
Chip shows how to count by color etc.
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"FC" wrote in message
...
Can somebody provide me with a FORMULA, CONDITIONAL FORMATTING or a
way to count in a column, let's say, how many CELLS are written in
specific
kind of letters? ( ex. arial, britanic bold, etc.).Thanks in advance.




JLatham

Counting depending on kind of letters
 
To add to what Bernard said, the property you'd need to test for (instead of
Interior.ColorIndex) would be the cell's .Font.Name property, like:
If ActiveCell.Font.Name = "Times New Roman" Then
' add 1 to counter
End IF

Hope this helps you change examples you find to suit your need.

"FC" wrote:

Can somebody provide me with a FORMULA, CONDITIONAL FORMATTING or a
way to count in a column, let's say, how many CELLS are written in specific
kind of letters? ( ex. arial, britanic bold, etc.).Thanks in advance.



All times are GMT +1. The time now is 02:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com