I want to return a count of how many times the word FREE appears in a column (column B) which is tied to a style code (column E)
- Column B contains the "FREE" values
- Column C represents the style code for the free item (there will be duplicate style codes in this column)
- Column E contains the unique style codes (no duplicates)
- Column F is my count column
I've attempted different iterations of each formula below to no avail:
=countif($B$2:$B$1000,"*"&"FREE"&"*")
- wildcards used to account for other characters in the string.- This formula does a full count of the value "FREE" in column B, however it does not count for the specific style code alone (e.g. - style "SARM" was FREE 10 times)
=countif($B$2:$B$1000,VLOOKUP("FREE",$B$2:$C$1000,2,FALSE))
- Returns "0"
The problem I am having is that I am unsure of how to link column E (unique style code) to column C, then return how many times FREE appears (column B) per style in C.
Any help is greatly appreciated.