sunnykeerthi
New Member
- Joined
- Dec 6, 2021
- Messages
- 2
- Office Version
- 365
- Platform
- MacOS
Hi,
I've 2 Excel sheets as below. In my first sheet, I've First name, Last name and City.
In the 2nd, I got Address 1, City, State, Zip code and Country.
Here I want to match the City in sheet 2 with the city in sheet 1(it should be a contains, not equals to) and paste the entire row from sheet 2 in sheet 1 next to the city.
The output should be like this.
Sorry for asking the solution directly. I'm very new to Excel (I know this sounds very odd ?).
I tried VLOOKUP, but it gives only True/False, so as the MATCH does.
Thanks
I've 2 Excel sheets as below. In my first sheet, I've First name, Last name and City.
In the 2nd, I got Address 1, City, State, Zip code and Country.
Here I want to match the City in sheet 2 with the city in sheet 1(it should be a contains, not equals to) and paste the entire row from sheet 2 in sheet 1 next to the city.
Names and Cities.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | First Name | Last Name | City | ||
2 | John | Wick | New york | ||
3 | George | Phillip | Cincinati | ||
4 | Karen | D'souza | Cleveland | ||
5 | Ravi | Malhotra | Saint Paul | ||
6 | Ryan | Miller | Houston | ||
Sheet1 |
Names and Cities.xlsx | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | Addr1 | City | State | Zip | Country | ||
2 | 2885 Morningview Lane | New York | NY | 10013 | US | ||
3 | 757 Grey Fox Farm Road | Houston | TX | 77002 | US | ||
4 | 999 Corbin Branch Road | Cleveland | TN | 37311 | US | ||
5 | 321 Rogers Street | Cincinati | OH | 45236 | US | ||
6 | 3097 Hayhurst Lane | Saint Paul | MN | 55121 | US | ||
Sheet2 |
The output should be like this.
Names and Cities.xlsx | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | First Name | Last Name | City | |||||||
2 | John | Wick | New york | 2885 Morningview Lane | New York | NY | 10013 | US | ||
3 | George | Phillip | Cincinati | 321 Rogers Street | Cincinati | OH | 45236 | US | ||
4 | Karen | D'souza | Cleveland | 999 Corbin Branch Road | Cleveland | TN | 37311 | US | ||
5 | Ravi | Malhotra | Saint Paul | 3097 Hayhurst Lane | Saint Paul | MN | 55121 | US | ||
6 | Ryan | Miller | Houston | 757 Grey Fox Farm Road | Houston | TX | 77002 | US | ||
Sheet1 |
Sorry for asking the solution directly. I'm very new to Excel (I know this sounds very odd ?).
I tried VLOOKUP, but it gives only True/False, so as the MATCH does.
Thanks