Lookup between two worksheets

G

Guest

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
 
G

Guest

Mike

Sorry, I did try it but must have type it wrong or something. You've saved
me loads of time.

Cheers, will have to come on here more often when I have problems.
 
G

Guest

Typo correction

A1:C3 is the array to find it in( i.e A1 - A3, B1-B3, C1-C3) on Sheet 1
 
G

Guest

Hi Mike

As I said thanks for that. I am intending to drag this formulae down in the
worksheet but I need to constrain the Sheet1!A1:C3 part so that it doesn't
increment with the A30 part. is this possible?????
 
G

Guest

Remember that while using the vlookup function, the data in sheet1 should be
in sorted on column A in ascending order....
 
G

Gord Dibben

Not if the FALSE argument is used as OP shows.

From Help..............

If range_lookup is TRUE, the values in the first column of table_array must be
placed in ascending order: ..., -2, -1, 0, 1, 2, ..., A-Z, FALSE, TRUE;
otherwise VLOOKUP may not give the correct value. If range_lookup is FALSE,
table_array does not need to be sorted.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top