Closed Thread
Results 1 to 7 of 7

Multi Vlookup

Hybrid View

Guest Multi Vlookup 11-11-2009, 02:09 PM
NBVC Re: Multi Vlookup 11-11-2009, 02:13 PM
Guest Re: Multi Vlookup 11-11-2009, 02:16 PM
NBVC Re: Multi Vlookup 11-11-2009, 02:24 PM
Guest Re: Multi Vlookup 11-12-2009, 02:51 PM
NBVC Re: Multi Vlookup 11-12-2009, 03:23 PM
Guest Re: Multi Vlookup 11-20-2009, 01:40 PM
  1. #1
    earthworm
    Guest

    Red face Multi Vlookup

    Guys i am facing problem with vlookup

    i have the data in 3 sheets

    i want to sum the data of three sheets if the value matches with the 3rd

    sheet what happens is if the value from sheet3 matches with value of sheet 1

    then i add another vlookup so that both values if located by vlookup can be

    added

    like this

    (vlookup)+(vlookup) but if the 2 sheet dosent have the value which is located in sheet 3 , then instead of showing sheet 1 value it shows #n/a
    what i want is if the sheet 2 dosent have the value it skips the formula and give answer . i have 30 sheets so data might not be available in 30 sheets together might be possible in one sheet is there in another sheet its not there,

    PLEASE GUIDE !!!!!!!!!!!
    Attached Files Attached Files
    Last edited by earthworm; 11-11-2009 at 02:15 PM.

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

    Re: Multi Vlookup

    You say you have 3 sheets... then you say you have 30 sheets... which is correct?

    And how exactly are the sheets named? Is there a pattern to them or not?

    also maybe post an example of a couple of the sheets and what you want to accomplish.
    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
    earthworm
    Guest

    Re: Multi Vlookup

    I M TESTING DATA IN 3 SHEETS

    BUT ON LARGER Scale i will be dealing with 30+ sheets

    sheet name is not a problem , any sheet

    i will name sheets as 1 2 3 4 5 6 7 8 etc
    Last edited by shg; 11-11-2009 at 02:18 PM. Reason: Deleted spurious quote

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

    Re: Multi Vlookup

    Say, for example, you had 1 sheet.

    What would your Vlookup look like?

  5. #5
    earthworm
    Guest

    Re: Multi Vlookup

    Dude its simple logic

    example is already shared in the excel attached .

    Please advice

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

    Re: Multi Vlookup

    Well... excuse me.. I hadn't seen that you updated your original post instead of adding the attachment in a new post to follow sequence.....

    ... anyways, see attached.

    Formula in Q9 of Sheet 1:

    =SUMPRODUCT(SUMIF(INDIRECT("'Sheet"&ROW(INDIRECT("1:3"))&"'!A1:A10"),P9,INDIRECT("'Sheet"&ROW(INDIRECT("1:3"))&"'!B1:B10")))
    This looks at A1:A10 of each sheet 1, 2 and 3 and looks for the value that is in P9 and sums corresponding numbers from B1:B10 on each sheetl

    Adjust ranges to suit and change 1:3 in the formula to encapsulate all sheets (i.e. 1:30)
    Attached Files Attached Files

  7. #7
    earthworm
    Guest

    Talking Re: Multi Vlookup

    Quote Originally Posted by NBVC View Post
    Well... excuse me.. I hadn't seen that you updated your original post instead of adding the attachment in a new post to follow sequence.....

    ... anyways, see attached.

    Formula in Q9 of Sheet 1:

    =SUMPRODUCT(SUMIF(INDIRECT("'Sheet"&ROW(INDIRECT("1:3"))&"'!A1:A10"),P9,INDIRECT("'Sheet"&ROW(INDIRECT("1:3"))&"'!B1:B10")))
    This looks at A1:A10 of each sheet 1, 2 and 3 and looks for the value that is in P9 and sums corresponding numbers from B1:B10 on each sheetl

    Adjust ranges to suit and change 1:3 in the formula to encapsulate all sheets (i.e. 1:30)
    can you please explain the concept of this formula

    like the detail of this formula and mail me at

    muhammad.faraz-1@standardchartered.com


    Please explain the logic what does this formula mean

    like whats indirect and all



    Please tell me the formula which also work in excel 2003

Closed 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