0

I want to search an entire row using Vlookup from another sheet in my workbook. Currently I can only fetch the Name using excel. With sample data & searching for 123

Sheet 1
     ID    Name     Rates
    ----  ------   -------
     123   Onions    25$
     125   Tomatoes   6$

   Sheet2
       VLOOKUP(A2,Sheet1!B3:D5,2)

gives me 123, Onions. I want 123, Onions, 25$.

1
  • 2
    Did you try VLOOKUP(A2,Sheet1!B3:D5,3) ? Commented Dec 4, 2012 at 7:31

1 Answer 1

2

Sheet1

 ID    Name     Rates
----  ------   -------
 123   Onions    25$
 125   Tomatoes   6$

Sheet2

 ID
----
 125

Then you could use this for cell B1:

=CONCATENATE(VLOOKUP(A1;Sheet1!A2:C5;2;0);", ";VLOOKUP(A1;Sheet1!A2:C5;3;0))
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.