SOLVED

Counting text of a specific colour & font

Copper Contributor

I am trying to establish a COUNTIF formula that will accurately count the number of identical single text characters in a specific colour in a range of cells in a row that contains the same text character in a different colour. Is this possible, please? If so I would be very grateful for help with this request. Many thanks.

4 Replies
best response confirmed by topcat999 (Copper Contributor)
Solution

@topcat999 ,

 

Afraid that's if only with VBA, not with formula. Formulas work with cell values, not with their attributes like colors.

Thank you @Sergei Baklan . I am not that proficient with Excel, unfortunately, but when I accessed the Help function on using COUNTIF it suggested that "Excel supports User-Defined Functions using VBA operations on cells based on background or font colour."

Is it possible you could guide or demonstrate this for me, please?

Many thanks.

 

Thank you for that, @Sergei Baklan. Your help and advice greatly appreciated. 

@topcat999 ,

 

That's not my expertise. Please check https://techcommunity.microsoft.com/t5/Excel/sum-by-color-when-colors-are-set-by-conditional-formatt..., perhaps people who is discussin that could help.

1 best response

Accepted Solutions
best response confirmed by topcat999 (Copper Contributor)
Solution

@topcat999 ,

 

Afraid that's if only with VBA, not with formula. Formulas work with cell values, not with their attributes like colors.

View solution in original post