ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Lookup between two worksheets (https://www.excelbanter.com/new-users-excel/154569-re-lookup-between-two-worksheets.html)

Mike H

Lookup between two worksheets
 
Which is precisely what the formula does. An explanation of Vlookup
=VLOOKUP(A30,Sheet1!A1:C3,3,FALSE)

A30 is the value to find
A1:30 is the array to find it in( i.e A1 - A3, B1-B3, B1-B3) on Sheet 1
vlookup looks in the leftmost column in the case Column A
3 is the coulmn of the array to return the value from
False indicates exact matches only.

Did you actually try it?

Mike
"whatzzup" wrote:

Thanks Mike

What I should have said is that the value in A30 (sheet 2) could be anywhere
in column A (sheet 1) so therefore the formulae needs to find the value in
A30 somewhere in column A (sheet 1) and then the corresponding value in that
C colunm.

If you can help that would be great

"Mike H" wrote:

Try this in C30

=VLOOKUP(A30,Sheet1!A1:C3,3,FALSE)

Mike

"whatzzup" wrote:

I have the foll prob, i have two worhsheets with values in column A matching
values in column C A1 = 6 and C1 = Cat
A B C
1 6 Dog Cat
2 7 Pig Rat
3 17 x y
Next sheet A30 = 6 and C30 = ?
A B C
30 6 fly ?
31 3 tin can
32 17 d n
Can i write a formula in second worksheet to go look in first worksheet and
see the relationship between A1/C1 and get the value of C1 and make C32 = C1






All times are GMT +1. The time now is 08:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com