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
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

Comments

  • Cornucopia
    Cornucopia Posts: 16,470 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    edited 8 February 2018 at 11:21PM
    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)
  • 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.
  • Tom99
    Tom99 Posts: 5,371 Forumite
    1,000 Posts Second Anniversary
    Yes a PivotTable will do it.
  • stragglebod
    stragglebod Posts: 1,324 Forumite
    1,000 Posts Second Anniversary Name Dropper
    +1 pivot table
  • rmg1
    rmg1 Posts: 3,159 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    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.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

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

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.