Vlookup Not Work From Different Sheet

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,077
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all...

how to lookup different sheets:
testing.xlsx
AB
1cityname
2jakartaa
3jakartab
4jakartac
5jakartad
6hongkongg
7hongkongh
8singaporex
9singapores
10singaporer
11singaporet
12singaporew
13singaporek
data

in sheet data
testing.xlsx
AB
1namecity
2a#N/A
3c
lookup
Cell Formulas
RangeFormula
B2B2=VLOOKUP(A2,data!$A$2:$B$13,2,FALSE)


my target in sheet lookup
thank for anyone help

susant
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Vlookup will happily work across sheets, but your problem is that the lookup values is in the 2nd column & not the 1st.
You will need to use Index & Match
 
Upvote 0
hi alex..
i have new problem
testing fix.xlsx
ABC
1nocityname
21jakartamia
32jakartatika
43jakartadita
54jakartasisca
65hongkongvita
76hongkongjohn
87kuala lumpurmack
98kuala lumpursnake
109kuala lumpurjack
data


testing fix.xlsx
ABC
1city2targetshoud be
2hongkongvitavita
3hongkongvitajohn
4kuala lumpurmackmack
5kuala lumpurmacksnake
6kuala lumpurmackjack
7jakartamia
8jakartamia
lookup
Cell Formulas
RangeFormula
B2:B8B2=INDEX(data!$C$2:$C$10,MATCH(A2,data!$B$2:$B$10,0),0)

how about if list of name is unique
the formula is not work corect
 
Upvote 0
That is a totally different question and quite frankly doesn't seem to make sense.
You seem to want to use a lookup to replicate the original data sheet.

You were using the name to get the city and that seems fine. You now seem to want the reverse ie to lookup on the city and return all the names.

I am in Australia and login off for the night.
If you would like to clarify what you are trying to do perhaps @Fluff, can give you something that works for you.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,694
Members
448,979
Latest member
DET4492

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top