+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : SUMIF Problem

  1. #1
    Registered User
    Join Date
    10-17-2011
    Location
    Seattle
    MS-Off Ver
    Excel 2007
    Posts
    10

    SUMIF Problem

    I am working on an inventory problem. We manufacture espresso machines. I have one file with all of the bills of materials for all of the machines listed vertically on one tab, sheet 2. There are common parts in the machines so many parts will show up repeatedly with different quantities.

    I want to summarize the quantities for each of the parts in another tab, sheet 1. I was hoping to use a sumif to accomplish this.

    This is the summary File, sheet 1:

    A B C
    Row Labels Sum of Qty Sum of Qty
    1 98916 1 1
    2 1110-030 29 3
    3 1110-081 130 3
    4 1110-140 14 3
    5 1110-144 14 3



    This is the file with detail file of all of the bills of material, sheet 2:

    A B C
    1 Item # Description Qty
    2 98916 SCOOP-DECAFF COFFEE-1000i 1
    3 1110-030 PLATE COVER RFR TRAY SNSR 3
    4 1110-030 PLATE COVER RFR TRAY SNSR 12
    5 1110-030 PLATE COVER RFR TRAY SNSR 14
    6 1110-030 PLATE COVER RFR TRAY SNSR -
    7 1110-081 METAL FAB LIMITER SWITCH 1



    This is the sumif I am using: =SUMIF($A$2:$A$1064,'Sheet 2'!A2,'Sheet 2'!$C$2:$C$4692)

    The above sumif is in cell C1 of the summary. Column B in the summary is what the quantity should be.

    Any suggestions will be greatly appreciated. If I can get this to work it will be a real time saver.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,440

    Re: SUMIF Problem

    It would be easier to visualise with a sample workbook

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-17-2011
    Location
    Seattle
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: SUMIF Problem

    Thanks, I attached a summary file
    Attached Files Attached Files

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,440

    Re: SUMIF Problem

    Try:

    =SUMIF(Sheet2!A:A,A4,Sheet2!C:C)


    Regards

  5. #5
    Registered User
    Join Date
    10-17-2011
    Location
    Seattle
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: SUMIF Problem

    Quote Originally Posted by TMShucks View Post
    Try:

    =SUMIF(Sheet2!A:A,A4,Sheet2!C:C)


    Regards

    Thank you! That solved the problem.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,440

    Re: SUMIF Problem

    You're welcome.

    If this has solved your problem, please mark your thread as solved. See my signature for details or the FAQ.

    Regards

+ 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