Forum Discussion

dzhogov's avatar
dzhogov
Copper Contributor
Apr 03, 2019
Solved

Excel 2016 how to autofill data entries based on a reference sheet

I have an Excel document where I input monthly sales to analyze via pivot tables and graphs. The software I export sales data from exports it in the following way: MONTH | PRODUCT ID | PRODUCT NAME ...
  • PeterBartholomew1's avatar
    Apr 03, 2019

    dzhogov 

    The workbook you would be building is the one with the pivot tables.  The third table (or the same information held within the data model for Power Query) would be there and would be refreshed monthly (all the previously defined steps  would be repeated automatically).  New data might replace the old or you could choose to append it.

     

    One objective would be to get hold of the sales data from as near the source as you are allowed to go (in the current workbook, in another workbook, within an exported text file, using an SQL query to interrogate a corporate database).  All the data manipulation would be within PQ so that you never need to touch the data again.  The category and brand data could be read from a separate, largely static file or could be a table in the destination workbook. 

     

    p.s. By 'refresh' I simply mean click the 'Refresh All' button on the Data ribbon tab.

    p.p.s. I have tried to append a file as the 'starter for one'.  It contains the three tables on a single sheet but that would not be the longer-term aim.  Open the queries from the panel on the right and step through the edits to see the data at each stage.

Resources