[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Is there a simple way to find and replace in excel?

Posted on 2009-04-21
2
Medium Priority
?
295 Views
Last Modified: 2012-06-27
Hi,
I have two worksheets in excel workbook.

ws1 has country, city,type, lat, long
ws2 has country,city,lat, long

I am trying to fill in ws1's lat & long values.
I want to look for ws2's city and find it in ws1 then take ws2's lat & long values and enter them in ws1 lat and long.

Does this make sense?

I have about 2000 records in ws1
I filter out country and city in ws1 for the duplicates in ws1 and listed in ws2 to find the lat and long. Now I want to fill ws1's lat and long.
Thanks much.
0
Comment
Question by:dkim18
2 Comments
 
LVL 33

Accepted Solution

by:
jppinto earned 2000 total points
ID: 24197092
You can use VLookup function, like the attached file.

jppinto
Q24342306.xls
0
 

Author Closing Comment

by:dkim18
ID: 31572900
Excellent.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question