We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 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!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
Any Excel experts?
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 -
I'm using countif for my other columns, but this column has an indefinite number of possibilities. So countif wouldn't work.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
- 353.5K Banking & Borrowing
- 254.1K Reduce Debt & Boost Income
- 455K Spending & Discounts
- 246.6K Work, Benefits & Business
- 602.9K Mortgages, Homes & Bills
- 178.1K Life & Family
- 260.6K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards