I have a data set and can identify the cells that contain a value from the range, but sometimes a cell will contain multiple values from the range. I'd like to get a count of each occurrence.
My current formula to identify cells is:
For example, if a cell contains text as follows:=IF(SUMPRODUCT(COUNTIF(A2,"*"&NamedRange&"*"))>0,"Yes","No")
AB01, AB02, AB03
And each of those values is in my named range, my current formula just counts the cell once. I'd like to return the number of instances the cell contains something from the named range. In this case it would return 3.
I saw a lot of example functions with subtitute and len, but I'm doing it wrong. My named range is bigger and has longer names so I'd prefer not type them in or look for them individually.
Bookmarks