A Formula for Splitting Results into Two Columns Based on 'WRT/PUB Ind' Criteria.

Zee996

New Member
Joined
Nov 30, 2021
Messages
30
Office Version
  1. 365
Platform
  1. Windows
Hi all,

Is there a formula that can help me in obtaining results in two separate columns based on the criteria in the "WRT/PUB Ind" column?

I have attempted to use the Filter function, but it did not yield the desired output (attached).

Is there an alternative formula that can help me achieve this, considering the criteria in the "WRT/PUB Ind" column?
DatasetOutput
TitleWRT/PUB IndParticipantTitlePW
ABCPZeeABCZeeAndrew
ABCWAndrewHelenKritis
ABCPHelenJoe
ABCWKritisJosh
ABCPJoeXYZKIWIFelix
ABCPJoshMACHGARCIA
XYZPKIWIEL ARTESANO
XYZWFelix
XYZWGARCIAQUEKINGCOLVARGA
XYZPMACHEL ARTESANOFELIX
XYZPEL ARTESANONICTORIRODRIGUEZ
QUEPKINGCOLCREWMUNOZ
QUEPEL ARTESANOYAKALPEREZ
QUEWVARGA
QUEPNICTORI
QUEWFELIX
QUEWRODRIGUEZ
QUEWMUNOZ
QUEWPEREZ
QUEPCREW
QUEPYAKAL
UB Ind" column?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
How about
Fluff.xlsm
ABCDEFG
1TitleWRT/PUB IndParticipantTitlePW
2ABCPZeeABCZeeAndrew
3ABCWAndrewHelenKritis
4ABCPHelenJoe
5ABCWKritisJosh
6ABCPJoeXYZKIWIFelix
7ABCPJoshMACHGARCIA
8XYZPKIWIEL ARTESANO
9XYZWFelixQUEKINGCOLVARGA
10XYZWGARCIAEL ARTESANOFELIX
11XYZPMACHNICTORIRODRIGUEZ
12XYZPEL ARTESANOCREWMUNOZ
13QUEPKINGCOLYAKALPEREZ
14QUEPEL ARTESANO
15QUEWVARGA
16QUEPNICTORI
17QUEWFELIX
18QUEWRODRIGUEZ
19QUEWMUNOZ
20QUEWPEREZ
21QUEPCREW
22QUEPYAKAL
23
Data
Cell Formulas
RangeFormula
E1:G13E1=LET(ua,UNIQUE(FILTER(A2:A100,A2:A100<>"")),ub,UNIQUE(FILTER(B2:B100,B2:B100<>"")),IFNA(REDUCE(HSTACK("Title",TOROW(ub)),ua,LAMBDA(x,y,VSTACK(x,HSTACK(y,FILTER(C2:C100,(A2:A100=y)*(B2:B100=INDEX(ub,1)),""),FILTER(C2:C100,(A2:A100=y)*(B2:B100=INDEX(ub,2)),""))))),""))
Dynamic array formulas.
 
Upvote 0
Solution
How about
Fluff.xlsm
ABCDEFG
1TitleWRT/PUB IndParticipantTitlePW
2ABCPZeeABCZeeAndrew
3ABCWAndrewHelenKritis
4ABCPHelenJoe
5ABCWKritisJosh
6ABCPJoeXYZKIWIFelix
7ABCPJoshMACHGARCIA
8XYZPKIWIEL ARTESANO
9XYZWFelixQUEKINGCOLVARGA
10XYZWGARCIAEL ARTESANOFELIX
11XYZPMACHNICTORIRODRIGUEZ
12XYZPEL ARTESANOCREWMUNOZ
13QUEPKINGCOLYAKALPEREZ
14QUEPEL ARTESANO
15QUEWVARGA
16QUEPNICTORI
17QUEWFELIX
18QUEWRODRIGUEZ
19QUEWMUNOZ
20QUEWPEREZ
21QUEPCREW
22QUEPYAKAL
23
Data
Cell Formulas
RangeFormula
E1:G13E1=LET(ua,UNIQUE(FILTER(A2:A100,A2:A100<>"")),ub,UNIQUE(FILTER(B2:B100,B2:B100<>"")),IFNA(REDUCE(HSTACK("Title",TOROW(ub)),ua,LAMBDA(x,y,VSTACK(x,HSTACK(y,FILTER(C2:C100,(A2:A100=y)*(B2:B100=INDEX(ub,1)),""),FILTER(C2:C100,(A2:A100=y)*(B2:B100=INDEX(ub,2)),""))))),""))
Dynamic array formulas.
Thank you so much for this; it works like magic.

Would it be possible to know why 'ua', 'ub', and 'y' are used here?
 
Upvote 0
They are just variables & you can rename them to pretty much anything you want.
 
Upvote 0
Thank you so much for explaining.

Thanks again for your help; it means a lot.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,140
Messages
6,123,266
Members
449,093
Latest member
Vincent Khandagale

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