Excel formula - count how many times a word appears in a list split down by corresponding field
Hi
I need a formula to to count how many times a word or phase appears in a list, Please note the word or phrase can come in any part of the cell (i.e. have other text before or after it).
The results need to be broken down by details in a corresponding field (in this instance Gender). the attached spreadsheet has a some sample data and also the output from that sample which I hope helps. Also embedded below is an image of the data.
I would strongly recommend adjusting the data into a single value of STAT per row, either at the source before it gets in to Excel, or as a first step in the process in Excel (a macro could be created to break it apart).
Once you have the data in that format with one STAT per row, then the result you are after becomes a very simple pivot table, something that Excel is great at. Attached is an example of what I mean, hope this helps.
Thanks for that, normally I would, but there's a lot of different questions to analyse & it would take me ages to break then out. I did however manage to find Sum Countifs which seems to do the job if I put a wild card in before & after the phrase ...
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
Once you have the data in that format with one STAT per row, then the result you are after becomes a very simple pivot table, something that Excel is great at. Attached is an example of what I mean, hope this helps.
»bp