2 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Dynamic Spill Formula for Lookup To Array With Fixed Week Columns

Our take

Are legacy spreadsheets slowing you down? Transforming your data into a dynamic, accessible format shouldn't be a chore. With the right approach, you can efficiently restructure your GROUPBY results into a clean layout with fixed week columns. This guide explores a powerful Dynamic Spill Formula that simplifies your process, enhances performance, and ensures clarity. Dive in to discover how to streamline your data presentation, making it not only faster but also more insightful and user-friendly. Your journey to a more efficient spreadsheet starts here!

Hi, I have a source table which is a spill from a GROUPBY result in the following format:

Item Area Week Measure 1 Measure 2 Measure 3
PC Area 1 Week 1 50 100 150
PC Area 1 Week 2 100 200 250
PC Area 1 Week 3 150 250 300
PC Area 2 Week 2 20 40 60
PC Area 2 Week 3 80 100 120

I need to present this info in another sheet with weeks in fixed column headers . The desired output is as follows:

Item Area Measure Week 1 Week 2 Week 3
PC Area 1 Measure 1 50 100 150
PC Area 1 Measure 2 100 200 250
PC Area 1 Measure 3 150 250 300
PC Area 2 Measure 1 - 20 80
PC Area 2 Measure 2 - 40 100
PC Area 2 Measure 3 - 60 120

For each item-area block, all the measures will be repeated for all weeks. Tried to do a PIVTOBY but hit a block with fixed columns as some weeks might be missing in the data.

Currently using a cell-by cell FILTER formula which is very slow, hoping to improve the performance with a single DA formula

submitted by /u/land_cruizer
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles