+ Reply to Thread
Results 1 to 6 of 6

How do i Summarize values from multiple sheets using vlookup combined with...?

  1. #1
    Registered User
    Join Date
    03-08-2013
    Location
    Oslo
    MS-Off Ver
    Excel 2010
    Posts
    3

    How do i Summarize values from multiple sheets using vlookup combined with...?

    Hi,

    I have a workbook with several sheets and on EACH sheet there is a value connected to a name. So i want to create a formula that summarizes all the different values for that spesific name. Again; This name is on all sheets, but different location.

    I have made a formula with vlookup that searches all my sheets for a value connected to my lookup_value (name). But i am struggeling to make excel summarize the values.

    This is my current vlookup formula: {=VLOOKUP(C2,INDIRECT("'"&INDEX(A19:A22,MATCH(TRUE,COUNTIF(INDIRECT("'"&A19:A22&"'!B6:B16"),C2)>0,0))&"'!B6:F16"),5,FALSE)}
    Its searching in the sheets that ive named in cells A19-A22 for the value(name), C2, in their respective cells B6-B16. Then it returns the value from the 5th column in the array B6-F16. This works well, but i want to summarize all the values it would find. Do i have to change my vlookup or can i combine it with something?

    I tried playing with sum and sumproduct, but i think im doing something wrong. Still just getting the first value it finds.
    Anyone got a clue?

    Thanks
    Last edited by BillaBoo; 09-07-2016 at 07:12 AM. Reason: Solved

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: How do i Summarize values from multiple sheets using vlookup combined with...?

    Hi,

    Attach a workbook with a small, mocked-up example together with your expected results.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    03-08-2013
    Location
    Oslo
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: How do i Summarize values from multiple sheets using vlookup combined with...?

    Attached is a simple workbook with 3 sheets with data and 1 sheet where the sum for each "name" is displayed.

    Note that the names have different locations and values on each sheet. I want a function which gives me the summarized value for each name.

    Hope this explains better

    Thanks for all help.

    edit 1: In my original workbook i use a column to list the names of all the sheets i want to search in. But im open for suggestions. The orignial workbook also has alot of data, not just three rows as illustrated.
    Attached Files Attached Files
    Last edited by BillaBoo; 09-07-2016 at 05:50 AM.

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: How do i Summarize values from multiple sheets using vlookup combined with...?

    Using your file and putting the list of sheet names in A19:A21 of the Sum sheet, in B7 of that same sheet:

    =SUMPRODUCT(SUMIF(INDIRECT("'"&A$19:A$21&"'!A7:A9"),A7,INDIRECT("'"&A$19:A$21&"'!B7:B9")))

    and copied down.

    Regards

  5. #5
    Registered User
    Join Date
    03-08-2013
    Location
    Oslo
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: How do i Summarize values from multiple sheets using vlookup combined with...?

    Works well! Thanks alot man! Much simpler than what i was doing.

    For those who wonder, if any; This formula searches the sheets named in A19:A21, in Cells A7:A9 for the parametre (in same sheet as formula) A7 and then gives back the value found in B7:B9 from sheets listed in A19:21, also matched with the A7 parametre.
    Last edited by BillaBoo; 09-07-2016 at 07:11 AM.

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: How do i Summarize values from multiple sheets using vlookup combined with...?

    You're welcome!

    Cheers

+ 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] Multiple combined lookups across sheets and rows
    By bgcm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-15-2015, 02:21 PM
  2. Vlookup combined values
    By rp1783 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-10-2015, 07:13 PM
  3. Replies: 3
    Last Post: 11-09-2014, 11:09 AM
  4. Replies: 4
    Last Post: 06-13-2014, 01:20 PM
  5. Vlookup function to return multiple values from multiple sheets
    By bsamant in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2013, 11:31 AM
  6. [SOLVED] Combined Values VLOOKUP
    By nur2544 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-27-2013, 02:17 PM
  7. Excel 2007 : summarize multiple sheets within one workbook
    By thequickhappy21 in forum Excel General
    Replies: 1
    Last Post: 03-25-2010, 02:26 AM

Tags for this Thread

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