Solved

V lookup

Posted on 2011-09-08
6
260 Views
Last Modified: 2012-05-12
I use Excel 2007. I have a spreadsheet called “InvoiceDetail Subtable_TEST” with about 28,000.  Column C field is called “StudyID” and is currently blank.  I have another spreadsheet called “Invoice Table Update_Test” which has a column E field called “Study”. This spreadsheet has another field column A called “InvoiceID” which is a unique field with no duplicates. This same field exists in the “InvoiceDetail Subtable_TEST” spreadsheet in column B also called “InvoiceID”. In this spreadsheet, they are duplicated depending on their “StudyID” which is currently blank.
For example for “InvoiceID” 10550 the “StudyID” that should go in the blank space in the “InvoiceDetail Subtable_TEST” spreadsheet should be “SR05” based on the corresponding “Study” in the “Invoice Table Update_Test” spreadsheet. How can I accomplish this goal for about 28000 records in the “InvoiceDetail Subtable_TEST” spreadsheet matching them with the “Invoice Table Update_Test” spreadsheet using a V lookup or a formula. Attached are the 2 spreadsheets. Thanks in advance

InvoiceDetail-Subtable-TEST.xlsx
Invoices-Table-Update-TEST.xlsx
0
Comment
Question by:Chrisjack001
  • 3
  • 2
6 Comments
 
LVL 31

Accepted Solution

by:
Rob Henson earned 250 total points
ID: 36502935
The formula you need is:

=VLOOKUP($B2,'[Invoices-Table-Update-TEST.xlsx]Sheet1'!$A:$E,5,FALSE)

This assumes the source file is open otherwise it would require the path as well.

Thanks
Rob H

0
 
LVL 31

Expert Comment

by:Rob Henson
ID: 36502942
Sorry, should have said this is the formula for entry in C2 of the InvoiceDetail file and then copied down the rest of that column as far as required.

Thanks
Rob H
0
 
LVL 1

Assisted Solution

by:dubaday
dubaday earned 250 total points
ID: 36502990
List Populated.

Is this what you want, or did you want the formula? InvoiceDetail-Subtable-TEST.xlsx
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:Chrisjack001
ID: 36503328
Hi Rob its not working. I have both originals on my desktop. Could it be because the file is large. 28000. Could you please run your formula on your end and send it back to me. Thanks
0
 

Author Closing Comment

by:Chrisjack001
ID: 36503499
Thanks guys
0
 
LVL 31

Expert Comment

by:Rob Henson
ID: 36504361
Is it now working or do you still need assistance?

Only problem with doing it at my end is that the file references might change when downloaded and re-uploaded so you will have to change the formula anyway.

What was happening? Its not working is a bit of broad statement.

Thanks
Rob H
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
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 …

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now