+ Reply to Thread
Results 1 to 4 of 4

addition of numbers when they match

  1. #1
    Registered User
    Join Date
    06-25-2008
    Posts
    40

    addition of numbers when they match

    Hi

    i have attached a file to show what i want to try and do.
    Basically i want to look at the values of the part number in column m and for all the values in column M that are identical add up the corresponding numbers in column N and paste the result in column s and t as in the example. I would ideally like to do the maths auotmatically, i want to use the result for a graph. the real sheet could have up to 5000 rows of parts to add up through, but if i can get it to work for a small few the i can get it to work for 5000 rows easy enough.
    Any help would i would be very greatful
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    06-15-2011
    Location
    Chester, England
    MS-Off Ver
    Excel 2013
    Posts
    117

    Re: addition of numbers when they match

    A pivot table / chart is your best bet (see 'pivot' tab).

    1. Select data (with headers)
    2. Insert > Pivot table / pivot chart
    3. Select fields (row labels will be part numbers, values will be stock - make sure if you are adding that it is set to sum)
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: addition of numbers when they match

    It's just a quick SUMIF.

    The formula is in column U of your example sheet.

    Is that what you were after?
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: addition of numbers when they match

    Sorry, missed out some dollar signs, the actual formula should be:

    Please Login or Register  to view this content.

+ 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