Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I want to upload data from different sources which are in excel format, to a
master excel file. I work with excel but do not know any sort of VBA programming. |
#2
![]() |
|||
|
|||
![]()
This might be an option for you if:
a)You are familiar with MS Query, and b)Are OK with using (or learning) some basic SQL code: Assumptions: -The data in each wkbk is in named ranges 1)Select the cell where you want the consolidated data to start 2)DataImport External DataNew Database Query Databases: Excel Files -Select one of the files, pick the data range and columns to import and any criteria. -Select Edit the Query -Click the SQL button -Replace the displayed SQL code with an adapted version of this: SELECT Name, Amount From (SELECT Name, Amount FROM `C:\Analysis\Wkbk1`.rngNameAmt1 1stWkbk UNION SELECT Name, Amount FROM `C:\Analysis\Wkbk2`.rngNameAmt1 2ndWkbk UNION SELECT Name, Amount FROM `C:\Analysis\Wkbk3`.rngNameAmt1 3rdWkbk UNION SELECT Name, Amount FROM `C:\Analysis\Wkbk4`.rngNameAmt1 4thWkbk) Return the data to Excel. The above will consolidate ranges named rngNameAmt1 (which contain 2 columns: Name and Amount) from 4 Excel files into the one workbook One that is done....all you need to do to get the latest data is click in the data range then DaveRefresh Data. Is that something you could play with? -- Regards, Ron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can Excel Export Data to Word Format? | Excel Discussion (Misc queries) | |||
How can deleted data reappear in a refreshed pivot table in Excel | Excel Discussion (Misc queries) | |||
pasting excel data in a powerpoint slide | Excel Discussion (Misc queries) | |||
How do I plot Excel data on a floorplan? | Excel Discussion (Misc queries) | |||
Pulling data from 1 sheet to another | Excel Worksheet Functions |