Forum Discussion
topcat999
Apr 26, 2019Copper Contributor
Counting text of a specific colour & font
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 char...
- Apr 26, 2019
Afraid that's if only with VBA, not with formula. Formulas work with cell values, not with their attributes like colors.
topcat999
Apr 26, 2019Copper Contributor
Thank you SergeiBaklan . 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.
SergeiBaklan
Apr 26, 2019Diamond Contributor
That's not my expertise. Please check https://techcommunity.microsoft.com/t5/Excel/sum-by-color-when-colors-are-set-by-conditional-formatting/m-p/36495#M8243, perhaps people who is discussin that could help.