+ Reply to Thread
Results 1 to 6 of 6

How to use Vlookup to retrieve and sum up multiple values in a table.

  1. #1
    Registered User
    Join Date
    02-28-2015
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    7

    How to use Vlookup to retrieve and sum up multiple values in a table.

    Hello,
    \1
    As you can see here, I need a formula that uses the supplier ID in the bottom table and checks for matching supplier IDs in the top table.
    Then sum up the (Quantity per re-order)*(unit price) IF the "amount in stock" <= "Re-Order level"

    I'm super stressed out about this and would really appreciate some help in this area.

    Thanks a lot

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: How to use Vlookup to retrieve and sum up multiple values in a table.

    Please, rather upload example workbook than picture so we can test.

    Maybe

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-28-2015
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    7

    Re: How to use Vlookup to retrieve and sum up multiple values in a table.

    I tried that formula and it returns a value of 0
    Here is the document
    http://expirebox.com/download/edaf37...978eb9e5b.html

    Thanks so much!

  4. #4
    Registered User
    Join Date
    02-28-2015
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    7

    Re: How to use Vlookup to retrieve and sum up multiple values in a table.

    I'm being stupid! This does work.
    But can you please explain how it works?

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: How to use Vlookup to retrieve and sum up multiple values in a table.

    SUMPRODUCT will evaluate each array with two outcomes:
    • If you have comparations it will evaluate them into TRUE/FALSE
    • If you have numbers it will multiply them

    For example:

    If your data has:

    Please Login or Register  to view this content.
    Then SUM of A will look like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    So it will evaluate into:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Since TRUE = 1 and FALSE = 0

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Result = 4

  6. #6
    Registered User
    Join Date
    02-28-2015
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    7

    Re: How to use Vlookup to retrieve and sum up multiple values in a table.

    Thank you sooo much :D I understand this now.

+ 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. Vlookup a table, to another table that has multiple values
    By marshahannah in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-24-2014, 12:15 PM
  2. Multiple values in vlookup table A
    By capricorn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-17-2013, 01:29 PM
  3. Replies: 2
    Last Post: 03-22-2013, 07:42 AM
  4. Replies: 8
    Last Post: 06-15-2011, 10:48 AM
  5. How to retrieve values from an excel table
    By raala12 in forum Excel General
    Replies: 3
    Last Post: 03-04-2010, 07:46 AM

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