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!
excel help
Options

hueknight1969
Posts: 171 Forumite
in Techie Stuff
Hi
Is there a way to get excell to look at a group of cells and tell you the frequency of all the values without typing a specfic range or exactly the value. eg
1
1
2
2
2
4
6
1=2 times; 2=3times; 4=1 times; 6=1 times
I have 2800 entries to sort out, im sure this can be done (i have looked on google with no luck)
thanks
hugh
Is there a way to get excell to look at a group of cells and tell you the frequency of all the values without typing a specfic range or exactly the value. eg
1
1
2
2
2
4
6
1=2 times; 2=3times; 4=1 times; 6=1 times
I have 2800 entries to sort out, im sure this can be done (i have looked on google with no luck)
thanks
hugh
0
Comments
-
Yes, there's probably several ways to do it.
I would do this:-
- Copy the list of values
- Sort the copied list in ascending order
- Add a de-duplication formula alongside the copied list (see below)
- Create a de-duplicated new list
- Add a counting formula to the de-duplicated list
Typical de-duplication formula for a vertical list:-
in column B, add: =IF(A1=A2,"",A1) to every cell next to a source value in column A
Typical counting formula for a vertical list:-
=COUNTIF("=" & C1, A: A)0 -
Insert a heading (A say) in the row above the numbers and Insert a PivotTable, drag the heading to both the Rows and Values sections, click where it says Sum of A, click Value Field Settings and change to Count.0
-
Yes a PivotTable will do it.0
-
+1 pivot table0
-
Just to add in my 2p-worth.
A pivot table will certainly do what you want.
If you want to re-use it with ranges of varying sizes, research dynamic data ranges and then attach the pivot-table to one of those.:wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:
Any posts are my opinion and only that. Please read at your own risk.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

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