Make one table with everything totalized and sorted by highest number.

Romano_odK

Active Member
Joined
Jun 4, 2020
Messages
379
Office Version
  1. 365
Platform
  1. Windows
Good afternoon,
Just learned how to do this when the columns are equal in length and not a table. Now I have the same data that are in tables and need summed together in one column with the description in front of it. The highest amount needs to be at the top. Take into account that the tables are not of equal length. Can this be done? Thank you for your time.


Aantallen stuks kunststof 2017-2022 1.0565 final.xlsx
ABCDEFGHIJKLMN
1Omschrijving 2017Totaal2017Omschrijving 2018Totaal2018Omschrijving 2019Totaal2019Omschrijving 2020Totaal2020Omschrijving 2021Totaal2021
2Kunststof Tunnelblok 26x4 mm geel 566000Kunststof Rasterblok 26x2 mm blauw 461000Kunststof Rasterblok 26x2 mm blauw 490000Kunststof Rasterblok 15x1 mm wit 495000Kunststof Rasterblok 17x4 mm geel 590000
3Kunststof Tunnelblok 26x5 mm groen 505000Kunststof Tunnelblok 26x4 mm geel 442000Kunststof Tunnelblok 22x4 mm geel 448000Kunststof Rasterblok 26x2 mm blauw 451740Kunststof Tunnelblok 24x4 mm geel 589930
4Kunststof Tunnelblok 22x4 mm geel 437000Kunststof Tunnelblok 22x4 mm geel 436000Kunststof Tunnelblok 26x4 mm geel 429000Kunststof Tunnelblok 24x3 mm rood 449940Kunststof Rasterblok 30x5 mm groen 511000
5Kunststof Tunnelblok 24x4 mm geel 422000Kunststof Tunnelblok 26x5 mm groen 422000Kunststof Tunnelblok 30x5 mm groen 411000Kunststof Tunnelblok 22x4 mm geel 415670Kunststof Rasterblok 15x1 mm wit 505000
6Kunststof Rasterblok 26x2 mm blauw 348000Kunststof Tunnelblok 24x4 mm geel 375000Kunststof Tunnelblok 22x3 mm rood 395000Kunststof Rasterblok 22x2 mm blauw 398420Kunststof Tunnelblok 24x3 mm rood 500230
7Kunststof Rasterblok 22x2 mm blauw 333000Kunststof Tunnelblok 22x3 mm rood 351000Kunststof Rasterblok 26x4 mm geel 372000Kunststof Rasterblok 17x4 mm geel 398000Kunststof Rasterblok 24x2 mm blauw 438580
8Kunststof Tunnelblok 24x5 mm groen 320800Kunststof Rasterblok 26x4 mm geel 346000Kunststof Tunnelblok 24x4 mm geel 364000Kunststof Rasterblok 26x4 mm geel 394000Kunststof Tunnelblok 30x5 mm groen 409300
9Kunststof Tunnelblok 26x3 mm rood 294900Kunststof Tunnelblok 24x5 mm groen 344000Kunststof Tunnelblok 24x5 mm groen 348000Kunststof Rasterblok 24x2 mm blauw 381640Kunststof Tunnelblok 24x5 mm groen 394530
10Kunststof Tunnelblok 24x3 mm rood 252000Kunststof Rasterblok 22x2 mm blauw 335000Kunststof Rasterblok 26x1 mm wit 332000Kunststof Tunnelblok 22x3 mm rood 380670Kunststof Rasterblok 26x4 mm geel 381100
11Kunststof Tunnelblok 30x5 mm groen 243500Kunststof Tunnelblok 30x5 mm groen 327500Kunststof Rasterblok 22x2 mm blauw 330200Kunststof Tunnelblok 26x4 mm geel 373320Kunststof Tunnelblok 26x4 mm geel 360520
12Kunststof Tunnelblok 22x5 mm groen 205000Kunststof Rasterblok 26x1 mm wit 267000Kunststof Tunnelblok 26x5 mm groen 315000Kunststof Tunnelblok 24x5 mm groen 348995Kunststof Rasterblok 30x2 mm blauw 355500
13Kunststof Rasterblok 26x4 mm geel 197000Kunststof bloks 50x20x5 mm spijkerbaar 241000Kunststof bloks 50x20x5 mm spijkerbaar 299000Kunststof Tunnelblok 26x5 mm groen 339345Kunststof Rasterblok 26x1 mm wit 341500
14Kunststof bloks 50x20x5 mm spijkerbaar 195000Kunststof Tunnelblok 22x5 mm groen 241000Kunststof Tunnelblok 24x3 mm rood 283000Kunststof Tunnelblok 30x5 mm groen 326500Kunststof Tunnelblok 22x3 mm rood 332920
15Kunststof Rasterblok 24x2 mm blauw 189000Diskoklicks 40x30x4 mm geel 225000Kunststof Rasterblok 26x1 mm wit 295340Kunststof Tunnelblok 22x4 mm geel 329420
27Kunststof Tunnelblok 28x3 mm rood 119000Keggen 100x24x84 mm grijs 164000Keggen 100x24x84 mm grijs 150300Kunststof Triple blok 100x56x2mm 186000
28Kunststof Tunnelblok 20x4 mm geel 116300Kunststof Tunnelblok 30x3 mm rood 163000Kunststof Rasterblok 22x1 mm wit 145740Kunststof bloks 50x20x5 mm spijkerbaar 175200
29Kunststof Rasterblok 30x2 mm blauw 113000Kunststof Rasterblok 15x2 mm blauw 160000Kunststof Rasterblok 22x3 mm rood 144100Kunststof Rasterblok 40x2 mm blauw 170500
30Kunststof Rasterblok 15x3 mm rood 112000Diskoklicks 40x30x5 mm groen 155000Keggen 100x26x51 mm zwart 143000Kunststof Rasterblok 24x1 mm wit 167580
31Kunststof Tunnelblok 28x4 mm geel 111000Kunststof Rasterblok 26x3 mm rood 153000Keggen 100x26x84 mm zwart 141575Keggen 100x26x51 mm zwart 164600
32Kunststof Rasterblok 26x3 mm rood 108000Kunststof Rasterblok 26x5 mm groen 153000Kunststof Tunnelblok 40x5 mm groen 137000Kunststof Tunnelblok 30x3 mm rood 162300
33Kunststof Tunnelblok 28x5 mm groen 108000Kunststof Rasterblok 30x2 mm blauw 151000Kunststof Rasterblok 24x5 mm groen 146600
34Diskoklicks 50x50x3 mm rood 107000Meubelwig 100x20x81 mm zwart 147500Kunststof Rasterblok 15x2 mm blauw 145300
35Kunststof Tunnelblok 36x5 mm groen 104000Kunststof Tunnelblok 40x5 mm groen 138600
36Kunststof Tunnelblok 32x3 mm rood 99000Keggen 100x26x84 mm zwart 133200
37Kunststof Tunnelblok 20x3 mm rood 95200
38Kunststof Tunnelblok 50x5 mm groen 94900
39Diskoklicks 50x50x2 mm blauw 92000
Final (2)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
M:MCell ValueduplicatestextNO
M:MCell ValueduplicatestextNO
J:JCell ValueduplicatestextNO
G:GCell ValueduplicatestextNO
M:MCell ValueduplicatestextNO
J:JCell ValueduplicatestextNO
G:GCell ValueduplicatestextNO
D:DCell ValueduplicatestextNO
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
How about
Excel Formula:
=LET(v,VSTACK(Table1,Table2,Table3,Table4,Table5),u,UNIQUE(INDEX(v,,1)),SORT(HSTACK(u,SUMIFS(B:N,A:M,u)),2,-1))
As I don't know what your tables are called I've just called them Table1 to Table5
 
Upvote 0
Solution
How about
Excel Formula:
=LET(v,VSTACK(Table1,Table2,Table3,Table4,Table5),u,UNIQUE(INDEX(v,,1)),SORT(HSTACK(u,SUMIFS(B:N,A:M,u)),2,-1))
As I don't know what your tables are called I've just called them Table1 to Table5
Good morning,
This works perfectly, thank you for your time and have a great day.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,300
Messages
6,124,138
Members
449,144
Latest member
Rayudo125

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