Display/Extract table content into a different table... possibly a Pivot?

Dontcomehereoften

New Member
Joined
Dec 6, 2023
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hi all,
So I have a table similar to the below which acts as a matrix, so Req ID 1 is in F1 but could be in any number of Fx, up to about F80.
The status of a Req ID can be updated
The Team X is the team who is interested/working on the particular Req.

Req IDStatusF1F2F3F4F5
1​
AgreedTeam 1
2​
RejectedTeam 2
3​
AgreedTeam 3
4​
ReworkTeam 2
5​
DraftTeam 3
6​
AgreedTeam 1
7​
DraftTeam 3

Ideally I would like to extract from the above, by Team (using Team 3 in example below) that shows something like the below where if Team 3 is in any Fx columns, show the Fx Number, the Req ID aligned to that entry and the Status of that Req ID;
FeatureReq IDStatus
F23Agreed
F25Draft
F57Draft

VBA cannot be used due to policy and also can be easily refreshed as an when required. Is this possible?
Many thanks in advance
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Power query to sort the data , export back into excel and filter by any team you want

Book2
ABCDEFG
1Req IDStatusF1F2F3F4F5
21AgreedTeam 1
32RejectedTeam 2
43AgreedTeam 3
54ReworkTeam 2
65DraftTeam 3
76AgreedTeam 1
87DraftTeam 3
9
10
11AttributeReq IDStatusValue
14F23AgreedTeam 3
16F25DraftTeam 3
18F57DraftTeam 3
Sheet1


Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Req ID", type text}, {"Status", type text}, {"F1", type text}, {"F2", type text}, {"F3", type text}, {"F4", type any}, {"F5", type text}}),
    #"Unpivoted Other Columns" = Table.UnpivotOtherColumns(#"Changed Type", {"Req ID", "Status"}, "Attribute", "Value"),
    #"Reordered Columns" = Table.ReorderColumns(#"Unpivoted Other Columns",{"Attribute", "Req ID", "Status", "Value"})
in
    #"Reordered Columns"
1701948859723.png
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,114
Members
453,021
Latest member
Justyna P

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