+ Reply to Thread
Results 1 to 5 of 5

Addition of Columns

  1. #1
    Registered User
    Join Date
    05-31-2007
    Posts
    9

    Addition of Columns

    I want a formula that will look at all the 'A' , 'B' and 'C' items and look at the relevant Quantity column and give the total quantity in a new column as shown below:

    ITEM No Quantity ITEM Total Quantity
    A A211 2700 A 10700
    B D212 2700 B 2700
    A U222 4000 C 2000
    A Y546 4000
    C Y315 2000

    I am a newcomer to excel and appreciate that this is probably a very simple problem. Thank you for any help...

  2. #2
    Registered User
    Join Date
    05-31-2007
    Posts
    9

    Red face Addition of Columns

    I want a formula that will look at all the 'A' , 'B' and 'C' items and look at the relevant Quantity column and give the total quantity in a new column as shown below:

    ITEM Quantity
    A 2700
    B 2700
    A 4000
    A 4000
    C 2000

    Result:

    ITEM Total Quantity
    A 10700
    B 2700
    C 2000


    I am a newcomer to excel and appreciate that this is probably a very simple problem. Thank you for any help...

  3. #3
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    You need to use the SUMIF function - see Excel Help on this for more details.
    Martin

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Try this in E2 and drag formula down to E4

    =SUMPRODUCT(--($A$2:$A$6=D2)*($C$2:$C$6))
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    STROBE,

    Welcome to the forum. Please read rules below.

    I've merged your duplicate post this time but next time they will both be deleted without warning unless you follow the rules.

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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