vlookup 50+ woorkbooks

  • Thread starter Thread starter Walter3
  • Start date Start date
W

Walter3

Originally posted by Walter3
Hi Alan

I am using a standard worksheet format. One spreedsheet is my materia
use on a job ( item, description, Quantity ) the other is a list of al
items ( item, description, items used ) I can use vlookup to lookup i
one spreedsheet, that works well. I need it to be able to open close
spreedsheets to give me a total item used for a YTD report so i kno
how much items used.

ex
VLOOKUP(A2,'C:\[john.XLS]ESTSHEET'!$A:$D,4,true)+VLOOKUP(A2,'C:\[tony.XLS]ESTSHEET'!$A:$D,4,true)
Etc......

Can [tony.xls] be substituted by a *.xls to eliminate all the + sign
or is there a beter way and how do i do it. I am a beginner.

How can this be done to lookup the data in closed workbooks.
I don't want to open all of them to get a total ( I need to find ou
YYTD report of all items
 
No. You need to refer to each separate workbook. Your formula doesn't open
the workbooks - just retrieves the data from them.

formulas are limited to 1024 characters in length, so you probably need to
do a vlookup on each workbook in a separate cell, then sum the cells.
 
If the data is in the same place in each workbook you might want to look at
the consolidate option in the Data menu.
 
hi Tom Ogilvy


Thanks for the info and in leading me in the correct path but I am
not sure as how to do that, though i have tried a consolidation in a
macro once, and it seems to work great. I 'll try it and let you Know
how it works. In the meantime if you have any other ways please let me
know. Thank you so much.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top