+ Reply to Thread
Results 1 to 3 of 3

Counting the number of times the same data appears in a table

  1. #1
    Registered User
    Join Date
    06-19-2014
    Location
    Israel
    MS-Off Ver
    2010
    Posts
    16

    Counting the number of times the same data appears in a table

    Hi everyone,

    I have a table with two columns.

    PartNum Loaction
    CCN01905 J6
    CCN01905 J100
    CCN01905 J200
    CCN01905 J300
    CCN01905 J400
    CCN04455 J800
    CCN05363 J3
    CCP01960 C1
    CCP01960 C3


    I would like to create another table (in a new sheet) which displays the number of times each PartNum appears in the first table.

    PartNum QTY
    CCN01905 5
    CCN04455 1
    CCN05363 1
    CCP01960 2


    The amount of rows in a table is variable and can reach thousands of rows

    I would be very grateful for any help.

    Thanks.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Counting the number of times the same data appears in a table

    use a pivot table
    select the data
    insert/pivot table
    choose "new sheet "
    then select part number and drag into row labels and repeat drag into values close the window
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    06-19-2014
    Location
    Israel
    MS-Off Ver
    2010
    Posts
    16

    Re: Counting the number of times the same data appears in a table

    Thanks, that answered my question

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Counting the number of times a time appears in a range of data
    By alexw1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-04-2013, 12:23 PM
  2. Replies: 3
    Last Post: 05-14-2012, 10:22 PM
  3. Replies: 2
    Last Post: 03-14-2012, 08:12 AM
  4. Counting the number of times an entry appears
    By nickifan in forum Excel General
    Replies: 2
    Last Post: 11-22-2010, 12:04 PM
  5. Counting the number of times a range of values appears in a table.
    By mikenola in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 09-19-2010, 12:52 PM

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