+ Reply to Thread
Results 1 to 7 of 7

SUMIF and HLOOKUP or another solution?

  1. #1
    Registered User
    Join Date
    09-26-2017
    Location
    Boston, USA
    MS-Off Ver
    Office 365 Subscription
    Posts
    6

    SUMIF and HLOOKUP or another solution?

    I am just getting back into using excel, so I don't remember if this has an easy solution.

    (Background) I am working with a company that uses SAP for their order entry. Reps fill out an order form similar to the linked example test environment. We are working with over 500 possible SKU's depending on a few item descriptions, ie. Base material, Design, and Size.

    (Question) Is there a way I can write a formula to find the sum of each individual "product" (Item Code and Size make the product unique) and display it in a column for a CS upload sheet. Would some kind of Sumif/Lookup formula work? Perhaps a combination of index and match?

    You should know that sometimes there are skips in sizes, currently, I have the missing size cells locked so reps can tab through when filling out the order form. IDK if this makes a difference. I have attached an example test enviroment.


    https://drive.google.com/open?id=0B7YALexAFUYWd0R5MTQxTUlhZ2c


    BTW. Let me know if I messed up any formatting here. First post.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: SUMIF and HLOOKUP or another solution?

    Hello and welcome to the forum.

    In E2 of the 'CS Upload' worksheet, try this

    =SUMPRODUCT(('Order Form'!B$2:B$5=A2)*('Order Form'!C$2:C$5=B2)*('Order Form'!D$1:L$1=C2)*('Order Form'!D$2:L$5))

    You didn't include the expected results for us to compare the formula results to so I'll leave the checking to you.

  3. #3
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: SUMIF and HLOOKUP or another solution?

    Or,

    Try the below array formula in E2 (CS Upload tab)

    Please Login or Register  to view this content.
    to be confirmed by pressing CTRL+SHIFT+ENTER

    See the attached file.
    Attached Files Attached Files

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: SUMIF and HLOOKUP or another solution?

    I think there's also a requirement to generate the CS Upload unique items from the Order Form rather than populating something that already exists.
    Maybe the OP will confirm?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Registered User
    Join Date
    09-26-2017
    Location
    Boston, USA
    MS-Off Ver
    Office 365 Subscription
    Posts
    6

    Re: SUMIF and HLOOKUP or another solution?

    This works perfectly!

    Thank you so much!

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: SUMIF and HLOOKUP or another solution?

    Not sure which post you are referring to but I'm glad that we could help.

  7. #7
    Registered User
    Join Date
    09-26-2017
    Location
    Boston, USA
    MS-Off Ver
    Office 365 Subscription
    Posts
    6

    Re: SUMIF and HLOOKUP or another solution?

    No need to generate unique CS Upload items. Those have already been generated but not included in the Order Form.

    cbatrody's response worked.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] SUMIF or better solution
    By szabodomokos in forum Outlook Formatting & Functions
    Replies: 8
    Last Post: 08-29-2017, 04:40 AM
  2. [SOLVED] Solution for SUMIF
    By aaaaaaiden in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-19-2014, 06:26 AM
  3. HLOOKUP or another solution?
    By DooH in forum Excel General
    Replies: 3
    Last Post: 11-22-2006, 02:48 PM
  4. [SOLVED] Does anyone have a solution for nesting an OFFSET in an HLOOKUP?
    By sammy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-09-2006, 05:55 PM
  5. Replies: 2
    Last Post: 03-06-2006, 12:40 PM
  6. [SOLVED] Hlookup or other search solution
    By Micos3 in forum Excel General
    Replies: 1
    Last Post: 03-03-2006, 02:30 PM
  7. solution: SUMIF
    By Dahlman in forum Excel General
    Replies: 1
    Last Post: 06-09-2005, 04:05 PM

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