Dynamic table? maybe?

ExcelQA

New Member
Joined
Sep 21, 2023
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi everyone, I have little bit of a challenge. I developed a model for a colleague who is very used to "his format". Is there a way to create a dynamic (non pivot table) to automatically transform the data into one with the format below? the challenge is that for example on the table below the level 0 and level 2 changes month over month


1696592791209.png
 
How about
Fluff.xlsm
ABCDEFGHIJKLM
1Level 2Level 1Level 0Total
2Mig29ABCRU1000397889RU
3SU35ABCRU1700617224Mig291000397889
4TornadoDCBUK2000909784SU351700617224
5TyphoonDCBUK2500892852270010141113
6ViggenXCYSWE1000367497UK
7GrippenXCYSWE1700598866Tornado2000909784
8BaloonDEFUS100314317Typhoon2500892852
9F22DEFUS3000937501450018011636
10V22DEFUS800442502SWE
11F16DEFUS1000390885Viggen1000367497
12Grippen1700598866
1327009651363
14US
15Baloon100314317
16F223000937501
17V22800442502
18F161000390885
19490020832205
Sheet3
Cell Formulas
RangeFormula
I2:M19I2=LET(u,UNIQUE(FILTER(C2:C100,C2:C100<>"")),DROP(REDUCE("",u,LAMBDA(x,y,VSTACK(x,VSTACK(EXPAND(y,,5,""),IFNA(HSTACK("",FILTER(CHOOSECOLS(A2:F100,1,4,5,6),C2:C100=y)),"")),CHOOSE({1,2,3,4,5},"","",SUMIFS(D:D,C:C,y),SUMIFS(E:E,C:C,y),SUMIFS(F:F,C:C,y))))),1))
Dynamic array formulas.
FLUFF, Thank you!
 
Upvote 0

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,208
Messages
6,123,644
Members
449,111
Latest member
ghennedy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top