Solved

Find and Populate in Excel

Posted on 2016-07-19
10
39 Views
Last Modified: 2016-08-15
Isn't there a way I can look up values in one spreadsheet to populate values in another spreadsheet?

I want to populate the areas associated with owners on the FORMATTED DATA tab.  The owner area information is located on the RAW DATA tab.

Thank you,
Find-n-Replace.xlsx
0
Comment
Question by:Dee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 51

Expert Comment

by:Rgonzo1971
ID: 41719152
Hi,

pls try

=VLOOKUP(D2,'Raw data'!C:D,2,0)

Open in new window

Regards
Find-n-Replace.xlsx
0
 

Author Comment

by:Dee
ID: 41719198
Thank you!  It works fine on the sample file but fails on an actual data set.  (data set attached).

Any ideas?
Find-n-Replace---Data-set.xlsx
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 41719220
It is because the looked up numbers are not available in the raw data
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Dee
ID: 41719239
???

The very first number (105049276) is on row 295 in the raw data tab....

Unless I am missing something else....
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 41719261
The values on Raw Data tab are text strings that look like numbers, presumably downloaded from some other system that has exported as text.

Try this instead:
=VLOOKUP(TEXT(C2,"0"),Raw!A:B,2,0)

I notice on your Formatted sheet the values in column C are repeated several times, the one quoted above all the way down to row 137. Putting the lookup above in column B will repeat the same value retrieved from the lookup. Are you expecting different values?
0
 

Author Comment

by:Dee
ID: 41719386
AH!!!!!!  Yes, that must have been it.  The text conversion works fine!  Yes we are expecting the same value multiple times throughout the formatted results.

Thank you again for the nice solution.
0
 
LVL 51

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 41719415
You could also use

=VLOOKUP(""&C2,Raw!A:B,2,0)

Open in new window

Regards
0
 

Author Comment

by:Dee
ID: 41719444
Thank you Rgonzo1971!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

705 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