We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Any Excel experts?
Options

Vejovis
Posts: 16,858 Forumite
in Techie Stuff
I have been tasked with making a spreadsheet, but I've only used the most basic functions in Excel.
I need to create a list and have Excel count up the amount of times the same thing is repeated.
For example, if the list was
aaabbbbbbcccccdd
It would add up how many As, how many Bs, etc then produce a graph showing the results.
The list of different items could run into hundreds of unique items.
If this is possible, could you please explain in an idiot's guide?
Thanks.
I need to create a list and have Excel count up the amount of times the same thing is repeated.
For example, if the list was
aaabbbbbbcccccdd
It would add up how many As, how many Bs, etc then produce a graph showing the results.
The list of different items could run into hundreds of unique items.
If this is possible, could you please explain in an idiot's guide?
Thanks.
Birthdays are good for you. Statistics show that the people who have the most live the longest.
Larry Lorenzoni
Larry Lorenzoni
0
Comments
-
Have a look at this:
https://exceljet.net/formula/count-specific-characters-in-a-cell
Then to generate graphs automatically:
http://excelribbon.tips.net/T007887_Automatically_Creating_Charts_for_Individual_Rows_in_a_Data_Table.html0 -
0
-
Neil_Jones wrote: »Have a look at this:
https://exceljet.net/formula/count-specific-characters-in-a-cell
Then to generate graphs automatically:
http://excelribbon.tips.net/T007887_Automatically_Creating_Charts_for_Individual_Rows_in_a_Data_Table.html
With that, it looks like you'd have to put in the item you're looking for every time, so you'd have lots of cells with formulas.
I was hoping that there was a way to automatically add matching results. For example, if there was a list of dates of birth, it could pick out and count any dates of birth that matched.Birthdays are good for you. Statistics show that the people who have the most live the longest.
Larry Lorenzoni0 -
happyandcontented wrote: »Birthdays are good for you. Statistics show that the people who have the most live the longest.
Larry Lorenzoni0 -
A distribution you mean?
Frequency will create a distribution for you:
Formulas >More Functions >Statistical >Frequency.0 -
What you want are pivot tables. Make a backup of the workbook first. Sometimes it is easier creating an extra column containing 1 for each row, just to SUM things up and make counting of items easier
https://www.youtube.com/watch?v=peNTp5fuKFg
https://www.youtube.com/watch?v=9NUjHBNWe9M
Excel does not have an indefinite number of cells. For bigger you have to think 'database'0 -
64-bit Excel handles a HUGE number of rows, however it's not the right tool for more than a few thousand. Rather, this is trivial in a true database, and it'll be far better optimised to perform the counts within a single SQL statement.
If this is a one-off project, use Excel, but if this needs to be robust and regular, even Access will be far more capable.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 350.9K Banking & Borrowing
- 253.1K Reduce Debt & Boost Income
- 453.5K Spending & Discounts
- 243.9K Work, Benefits & Business
- 598.7K Mortgages, Homes & Bills
- 176.9K Life & Family
- 257.2K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards