Extract data from table into different columns

Danielosama

New Member
Joined
Dec 7, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
  2. Web
Hello everyone,

I have a massive table of data and I wanted to try and extract it in different columns / smaller tables.

The Table consists of Maintenance tasks, their frequency and the items required for it (there are more columns but this is the gist of it).
Some tasks do not have a frequency.

Here is a very reduced version of the Table in question:

Example.xlsx
BCDEFGHIJKLMN
1Original TableWanted result
2MAINT NAMEFrequencyITEMNO DUPLICATES ITEM LIST that have frequencyV (30.000 km)RI2 (1.080.000 km)
3AV (30.000 km)SCREW1SCREW1MAINT NAMEITEMMAINT NAMEITEM
4BV (30.000 km)WASHER1WASHER1ASCREW1DSCREW1
5CV (30.000 km)WASHER2WASHER2BWASHER1
6DRI2 (1.080.000 km)SCREW1SCREW2HSCREW1
7ESCREW2SCREW3
8FRI (720.000 km)SCREW2RI (720.000 km)RI2 (1.080.000 km)
9G2D (360.000 km)SCREW3MAINT NAMEITEMMAINT NAMEITEM
10HV (30.000 km)SCREW1FSCREW2GSCREW3
11
LIST



My first objective is to extract all non-duplicate items that have a frequency as seen in the Non Duplicate items table.

And my second one is to extract the Tasks and their items per Frequency in smaller tables as seen in the different smaller tables.

I have tried with different combinations of INDEX and AGGREGATE to no avail.... I admit this is a bit beyond me :')

Any help would be strongly appreciated.

All best,
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I messed when copying the mini-sheet.... the Top Right Table should be 2D (360.000 km) and not RI2 (1.080.000 km).

Apologies for the confusion.
 
Upvote 0
Hi & welcome to MrExcel.
How about
Fluff.xlsm
ABCDEFGHIJK
1Original TableWanted result
2MAINT NAMEFrequencyITEMNO DUPLICATES ITEM LIST that have frequencyV (30.000 km)
3AV (30.000 km)SCREW1SCREW1MAINT NAMEITEM
4BV (30.000 km)WASHER1WASHER1AV (30.000 km)
5CV (30.000 km)WASHER2WASHER2BV (30.000 km)
6DRI2 (1.080.000 km)SCREW1SCREW2CV (30.000 km)
7ESCREW2SCREW3HV (30.000 km)
8FRI (720.000 km)SCREW2RI (720.000 km)
9G2D (360.000 km)SCREW3MAINT NAMEITEM
10HV (30.000 km)SCREW1FRI (720.000 km)
11
12
Data
Cell Formulas
RangeFormula
H3:H7H3=UNIQUE(FILTER(D3:D100,C3:C100<>""))
J4:K7J4=FILTER(B3:C100,C3:C100=J2)
J10:K10J10=FILTER(B3:C100,C3:C100=J8)
Dynamic array formulas.
 
Upvote 1
Solution
Have you thought of using SLICER on the main data Table?

As of No Duplicates List you can use UNIQUE function as suggested by @Fluff above
 
Upvote 1
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,193
Messages
6,123,560
Members
449,108
Latest member
rache47

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