hi,
im having a little trouble trying to write a formula to count the occurrences of a phrase in the range B:B, but i want to count the phrases separately depending on there cells fill colour..
ie. if the cells fill colour is red it would be counted and added to the f1 cell, if blue f2, if fill green f3
to count the phrases i was planning to use
but this dosnt take into acount the cells colour, and i would also like to take into account variants of the phrase such as " sam" or "sam,"
is this possible using formulas or could it be writen as a macro ?
im having a little trouble trying to write a formula to count the occurrences of a phrase in the range B:B, but i want to count the phrases separately depending on there cells fill colour..
ie. if the cells fill colour is red it would be counted and added to the f1 cell, if blue f2, if fill green f3
to count the phrases i was planning to use
Code:
=COUNTIF(B:B, "sam")
is this possible using formulas or could it be writen as a macro ?