Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Pulling Descriptions from another file

Posted on 2012-04-09
11
Medium Priority
?
294 Views
Last Modified: 2012-04-10
Hi

This is a follow up to my other question today

I have a series of numeric codes in column E of spreadsheet A  (i.e.  21 55 00 80 14 02 10).  I want to pull the description for these codes from spreadsheet B which also contains the codes and their associated descriptions

How would you approach this situation?  Would you use Open Database Connectivity (OBDC) to accomplish this is is there some better way to do this?

Thank You for looking at my question

Mike
0
Comment
Question by:BulldogMike
[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
  • 6
  • 4
11 Comments
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37823952
Can you upload a very small sample file?
0
 
LVL 23

Accepted Solution

by:
wdosanjos earned 450 total points
ID: 37824009
I would use the VLOOKUP function.  Something like:
=VLOOKUP(A2,[YourOtherBook.xlsx]Sheet1!$C$2:$E$29,2,FALSE)

Open in new window


Using the VLookup Function in Excel 2007
http://msdn.microsoft.com/en-us/library/dd797422%28v=office.12%29.aspx

I hope this helps.
0
 

Author Comment

by:BulldogMike
ID: 37824033
Here a sample file with a small spreadsheet
0
Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37824046
Where?
0
 

Author Comment

by:BulldogMike
ID: 37824068
Spreadsheet attached now

test spreadsheet attached
TEST-DGCL-21017-Analysis.xlsx
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37824079
Please also upload part of the file with codes and descriptions. You can fake the descriptions if the data is proprietary.
0
 

Author Comment

by:BulldogMike
ID: 37824138
OK I have attached a revised spreadsheet (TEST-DGCL-21017-Analysis.xlsx) with the codes and added another (TEST-DGCL-GPI-NUM-01032012.xls) one that contains codes and descriptions.  

I had to revise the codes in the first spreadsheet so you would find the appropriate description in the second one

Thank You
TEST-DGCL-21017-Analysis.xlsx
TEST-DGCL-GPI-NUM-01032012.xls
0
 
LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 1050 total points
ID: 37824170
Enter this formula in F1 and copy down

=VLOOKUP(E10,'[TEST-DGCL-GPI-NUM-01032012.xls]GPI-NUM-01032012'!$A:$D,4,0)
0
 

Author Comment

by:BulldogMike
ID: 37824759
Here is what I have so far but it's not pulling the data - Please advise

=VLOOKUP(E10,'[CCM Adherence & Cyclic Chemo DGCLs Analysis.xlxs]GPI-NUM-01032012.xls'!$A:$D,4,0)

the files are:

1) CCM Adherence & Cyclic Chemo DGCLs Analysis.xlxs - just the codes which are in Column E

2) GPI-NUM-01032012.xls - codes are in column A and the descriptions are in column D


The files are in the same directory - please advise

Thanks

Mike
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37825849
Are you able to make it work in the given sample files?

If you are doing this in another file the follow these steps
- Select the cell where you want to enter the formula
- type =VLOOKUP(
- Click on cell E10
- type the ,
- as soon as you have typed the comma select the columns a-d from the other file instead of typing the whole thing.
- then type ,4,0)
- then press enter


Edited
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37829120
You need to provide sufficient feedback for the experts to help you. We cannot read your mind to know what is lacking in the response which deserves a B grade. If there is something more you want you can still ask further.
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

721 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