+ Reply to Thread
Results 1 to 5 of 5

Counting frequency of Large Spreadsheets of text

  1. #1
    Registered User
    Join Date
    07-21-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Counting frequency of Large Spreadsheets of text

    Hi there,

    Having a lot of trouble carrying out this rather simple operation.. heres a similar type scenario. I have 2 columns of text:

    Apples A
    Apples A
    Apples B
    Apples B
    Orange A
    Orange A
    Orange A
    Orange B

    Essentially I am looking for a way to give me how many Orange A's and B's there are and how many Apple A's and Apple B's there are. I've tried COUNTIF, but in my situation I have thousands and thousands of rows (in this example, over 50 kinds of fruits and 6 different letters of the alphabet) so copying and pasting my COUNTIF formula and editing it seems too slow... I tried dragging my formula down with the corresponding letter but for some reason that action changes the range field.

    Can pivot tables/data pilot do it? Haven't worked with that at all..

    Thank you so much for your help, this has been bothering me at work for weeks. I would really appreciate it...

    -Mike

    EDIT: just a little note.. How I've been grinding through it now is using a filter so I only see my "apples" while I count their respective A's, B's, C's.. etc. And then when I'm done I switch my filter to show only my "oranges" and then rinse and repeat. Very tedious.. need more snacks.
    Last edited by wholemilk; 07-21-2012 at 07:39 PM.

  2. #2
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Counting frequency of Large Spreadsheets of text

    if i understand your requirement correctly, then this is a text book case for Pivot Tables.

    here, take a look at the sample Pivot Table created out of your data. creating it is very simple too, just navigate to Insert > Pivot Table (ALT > N > V > T) and just follow the prompts. drag and drop columns into various regions to see how they behave. any column that you drop into the Values section can have a number of mathematical operations performed on it (SUM, COUNT, AVERAGE, MIN, MAX, PRODUCT etc.).
    Last edited by icestationzbra; 07-29-2012 at 09:17 AM.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  3. #3
    Registered User
    Join Date
    07-21-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Counting frequency of Large Spreadsheets of text

    icestationzbra, you have saved me so much time and candy bars. Thank you, thank you SO much for your help!!

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Counting frequency of Large Spreadsheets of text

    Hello wholemilk, and welcome to the forum.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself.
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  5. #5
    Registered User
    Join Date
    07-21-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Counting frequency of Large Spreadsheets of text

    Thanks Cutter, Will do next time!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1