Marcílio_Lobão
Well-known Member
- Joined
- Oct 7, 2013
- Messages
- 825
- Office Version
- 2007
- Platform
- Windows
Good morning to all colleagues participating in this noble forum.
I have a seemingly simple question but I'm not getting success.
I would like to count on the usual kindness of all of you.
Question:
I have a list of fruit/dessert names, with several names in the cells.
I need to count how many times a certain fruit/dessert name appears in the interval.
Sometimes the name of the fruit is compounded into other names.
I want to count only individual names.
I'm using at E2 cell:
Please, it is only possible to use formulas. No VBA in this Excel 2016 worksheet.
Any help will be greatly appreciated.
Have a great day.
I have a seemingly simple question but I'm not getting success.
I would like to count on the usual kindness of all of you.
Question:
I have a list of fruit/dessert names, with several names in the cells.
I need to count how many times a certain fruit/dessert name appears in the interval.
Sometimes the name of the fruit is compounded into other names.
I want to count only individual names.
I'm using at E2 cell:
Excel Formula:
=SUMPRODUCT(LEN($A$1:$A$5)-LEN(SUBSTITUTE($A$1:$A$5 ;$C2; "")))/ LEN($C2)
Please, it is only possible to use formulas. No VBA in this Excel 2016 worksheet.
Any help will be greatly appreciated.
Have a great day.