+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Getting a sum of values in a range returned

  1. #1
    Registered User
    Join Date
    09-09-2011
    Location
    California, USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Getting a sum of values in a range returned

    I have a sheet that lists part numbers that go into boxes. Each row lists the parts and their amounts that go into that box. There are empty cells within the range. I want a formula that will tell me how many of a certain part number are needed to fill all the boxes as indicated in the sheet.
    A simple example is attached.
    The result for part #G11233 in this example would be 68.

    Please help, I've been wrestling with this for too long!
    Attached Files Attached Files
    Last edited by fauna57; 09-12-2011 at 05:28 PM. Reason: solved

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Getting a sum of values in a range returned

    Try something like:

    =SUMIF($B$2:$F$6,J2,$C$2:$G$6)

    where J2 contains the lookup value, G11233
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    09-09-2011
    Location
    California, USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Getting a sum of values in a range returned

    Great, that worked. I thought I understood SUMIF, guess not.
    Thanks, NBVC!

+ 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