Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have sales report of every month from Jan to Dec in 12 seperate files. My
intention is to put them in one work sheet with item numbers as right culumn and months as row on top. Do I have to open all 12 files copying and posting? or is there a smart way to do it? Can Access be useful so solve this problem? Please advise. Thank you |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
yalano,
what you are asking can most likely be done, without the files being open. In general, when the reference to anothe workbook includes the full path, the workbook need not be open. The INDIRECT function will likely be used here and, depending on the structure of the 12 files, other functions like maybe OFFSET, INDEX, VLOOKUP etc. The exact formula will be dependent on how your individual monthly reports are organized. Since you want the consolidation sheet to have 12 columns, one for each month, ,most likely you will need an auxiliary table, say F1:F12, holding the names of the files for the 12 months. A construct that might prove useful as part of a formula could be the following expression: VLOOKUP(A2,INDIRECT(fullpath&"["&INDEX(F1:F12,COLUMN()-COLUMN($A2))&"]Sheet1!A:C"),2,0)... Write back with more detail for a suitable solution. HTH Kostis Vezerides |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy File Automatically on Opening It | Excel Discussion (Misc queries) | |||
Pasword protected Excel file encrypted, how do I read this file? | Excel Discussion (Misc queries) | |||
Links picking up values from an older version of linked file | Links and Linking in Excel | |||
How do you open a template at startup? | Excel Discussion (Misc queries) | |||
Opening a file with code without a set file name | Excel Discussion (Misc queries) |