Mac – Filter data in sheets from a master sheet

macrosmicrosoft excelpivot tablevba

I have a 'master sheet' with lots of furniture data in it, in column A there are the suppliers names. What I would like is to be able to have my master sheet with all the info and then sub sheets named by supplier; in these sub sheets I would like to reference the master sheet and pull out all of the items that are from that supplier.

For example: I would have a sheet called 'Ikea' which would look in the master sheet and search the A column for all entries of 'Ikea'. If present, copy or reference that row 1:12 in the 'ikea' sheet.

I would like to do it all dynamically using references rather than copying the data. Also, I would like it to auto update rather than having to run a macro to recalculate it each time. Can this be done with formulars rather than macros?

Best Answer

To extend CharlieRB's answer: set up your pivot table on a new tab. (In the screenshot below I've put the pivot table on the same tab just for clarity.) Be sure to put the "Supplier" field in the "Report Filter" section of the Pivot Table Field List form. I made the Pivot table source cover all of columns A:C on the Master sheet. This allows for automatic inclusion of additional rows upon refresh of the pivot table.

enter image description here

Next, with any cell of the pivot table selected, choose the "Options" menu. On the "PivotTable" submenu of the "Options" menu, click the "Options" dropdown:

enter image description here

Choose "Show Report Filter Pages", and select "Supplier". You'll get a tab for each supplier as you can see in the screen shot above.

Related Question