?
Solved

Excel data linking between sprdsheets based on values

Posted on 2013-01-04
4
Medium Priority
?
190 Views
Last Modified: 2013-01-24
Hi!  
I have one Excel 10 spreadsheet (SPRD1) with context specific values which are CPT codes (5-digit numeric).  A have another sprd2 which contains tens of thousands of these CPT codes, with corresponding values called RVU.
What I would like to do is tell SPRD1 that when a specific CPT is used "12345", to go to SPRD2, find the row which contains "12345", and place the corresponding RVU in the assigned cell in SPRD1....

I have no idea how to do this... I've googled a fair amount and found similar questions, but the answers are very specific to the context and data that I've been unable to extract a formula....  

Is that enough info to get me started?  Thanks in advance!
0
Comment
Question by:SonicVoom
[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
  • 2
4 Comments
 
LVL 93

Expert Comment

by:Patrick Matthews
ID: 38745776
You probably want either VLOOKUP, or INDEX/MATCH.

This article will help with VLOOKUP syntax: http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_2637-Six-Reasons-Why-Your-VLOOKUP-or-HLOOKUP-Formula-Does-Not-Work.html

Not having a sample file I can only guess at your requirements, but assuming:
"SPRD2" is another worksheet, and that it has CPT codes in Col A and RVU in Col B
On the SPRD1 worksheet, your current CPT code is in Col A, starting with A2

Then a formula like this should work:

=VLOOKUP(A2,SPRD2!A:B,2,FALSE)
0
 
LVL 2

Author Comment

by:SonicVoom
ID: 38745836
Wow, THANK YOU!  I messed with it but I still I didn't get it to work (learned a small heap in the process though).

SPRD1 can now be called "Berry"
SPRD2 can now be called "pfr2006"

CPT in "pfr2006" is (now) in column A (it appears this is a must), and the corresponding RVU is in column I.  This list is in numerical order.

CPT in "Berry" is in column E, and RVU is column P...The correspinding RVU from ["pfr2006", column I] is the value I want to add to ["berry", column P], based on the CPT used.  This list is not in order.

I hope that a formula exists that can be placed down the column of a 150 page spreadsheet which would save having to go back and forth manually entering the RVU that goes with each CPT in "berry"...  Possible?
0
 
LVL 93

Accepted Solution

by:
Patrick Matthews earned 2000 total points
ID: 38746070
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 38754477
Not for points:

The vlookup does not HAVE to start in column A but the lookup value has to be in the leftmost column of the range. The offset is then the number of the column in the range.

So a range of A:I with an offset of 9 would return contents of column I, likewise a range of C:M for example with an offset of 9 would return contents of column K.

Thanks
Rob H
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

801 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