I can't see an easy way to deal with this without splitting first the data with the ;
semicolon separator.
First of all, split your data:
- Highlight all of your cells with the data:
- Select the topmost cell in the column, e.g.
A1
- Hold CTRL+SHIFT and then press the down arrow.
- OK, once we've done that, go to "Data" menu and select "Text to Columns".
- On the Text to Columns window, select "Delimited" and then click "Next".
- In the following window, choose both "Semicolon" and "Other" under Delimiters, and type
#
in the box next to "Other".
- Check the box labeled "Treat consecutive delimiters as one".
- Click Finish.
Source
Note: you could also do this with formula (but that would be a pain in the ass, except if you already know how many values there can be surrounding the semicolon)
Note2: you could also do this with VBA if you needed to repeat it several times
Secondly, you can build a Pivot Graph as described in ozgrid
[EDIT] Another solution - with formulas
What you can do if you only want to count the number of NeedSegments per value is to use this formula :
=SUMPRODUCT(IF(FIND("#Partners",A2:A20)>0,1,0))
You can refer to another cell to get the result for each NeedSegment:
=SUMPRODUCT(IF(FIND(B1,$A$2:$A$20)>0,1,0))