+ Reply to Thread
Results 1 to 3 of 3

Matching a value in a column & then summing a respective cell from a the matched value..

  1. #1
    Registered User
    Join Date
    10-05-2012
    Location
    Thailand
    MS-Off Ver
    Excel 2007
    Posts
    18

    Matching a value in a column & then summing a respective cell from a the matched value..

    Hi....

    I am trying to sum the total amount of Components required to be changed.

    I have 'Sheet 2' which lists each of the components, per 'Sub Component'.

    'Sheet 1' is meant to sum all of the sub components according to their 'Component Name'

    For example,

    On 'Sheet 1' in Cell E6 I wish to enter a formula search for the value of B3 (Pump) on Sheet two in 'Column C'. I wish this formula to return the Sum of the numbers in Column E whenever the adjacent cell in Column C matches that of Cell B3 from Sheet 1.

    For further understanding... with the current data on the Excel file attached the Formula of

    Cell E6 should return the value of '3'.
    Cell E7 should return the value of '6'.
    Cell E8 should return the value of '9'.
    Cell E9 should return the value of '12'.


    Is this possible??

    Test Online.xlsx

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

    Re: Matching a value in a column & then summing a respective cell from a the matched value

    due the way your tableau in Sheet2 is laid out (gaps, merged cells etc.), this formula is not very robust:

    Please Login or Register  to view this content.
    enter in E6 on Sheet1 and drag-fill down until E9. then, copy formula to E15, adjust ranges, drag-fill down to E18.
    - 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
    10-05-2012
    Location
    Thailand
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Matching a value in a column & then summing a respective cell from a the matched value

    Quote Originally Posted by icestationzbra View Post
    due the way your tableau in Sheet2 is laid out (gaps, merged cells etc.), this formula is not very robust:

    Please Login or Register  to view this content.
    enter in E6 on Sheet1 and drag-fill down until E9. then, copy formula to E15, adjust ranges, drag-fill down to E18.
    I got it!!

    I had to first formulate the 'Jan' 'Feb' 'Mar' Cells etc into a month format 'mmmm'

    then

    I could use the SUMPRODUCT formula to guarantee two criteria are met & it now sums the totals for the entire columns when the two criteria are met...

    Thanks for the reply anyways..

+ 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