List All Possible Combinations (without Power Query) on a Mac

redhots4

Board Regular
Joined
Aug 30, 2004
Messages
136
Office Version
  1. 365
Platform
  1. MacOS
Hi everyone. I have three columns: Name, College, and Term. I want to create a list of rows showing all the combinations of the three. Raw data and the desired output is shown. I've researched using Power Query to do this but I'm on a Mac and to my knowledge it's not an available feature on this platform. Thanks!!

Clin Out Sum 08042022.xlsx
ABC
1NameCollegeTerm
2AndyKUSpring I
3MaryCUSpring II
4TomNUSummer
5JerryUTAFall I
6BethUCLAFall II
7UF
8
9Desired Output
10NameCollegeTerm
11AndyKUSpring I
12AndyCUSpring I
13AndyNUSpring I
14AndyUTASpring I
15AndyUCLASpring I
16AndyUFSpring I
17AndyKUSpring II
18AndyCUSpring II
19AndyNUSpring II
20AndyUTASpring II
21AndyUCLASpring II
22AndyUFSpring II
Sheet4
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
How about
Fluff.xlsm
ABC
1NameCollegeTerm
2AndyKUSpring I
3MaryCUSpring II
4TomNUSummer
5JerryUTAFall I
6BethUCLAFall II
7UF
8
9Desired Output
10NameCollegeTerm
11AndyKUSpring I
12AndyKUSpring II
13AndyKUSummer
14AndyKUFall I
15AndyKUFall II
16AndyCUSpring I
17AndyCUSpring II
18AndyCUSummer
19AndyCUFall I
20AndyCUFall II
21AndyNUSpring I
22AndyNUSpring II
23AndyNUSummer
Main
Cell Formulas
RangeFormula
A11:C160A11=LET(data,A2:C7,r,ROWS(data),c,COLUMNS(data),m,MID(BASE(SEQUENCE(r^c,,0),r,c),SEQUENCE(,c),1)+1,d,INDEX(data,m,{1,2,3}),FILTER(d,MMULT(--(d=""),SEQUENCE(c,,,0))=0))
Dynamic array formulas.
 
Upvote 0
Solution
How about
Fluff.xlsm
ABC
1NameCollegeTerm
2AndyKUSpring I
3MaryCUSpring II
4TomNUSummer
5JerryUTAFall I
6BethUCLAFall II
7UF
8
9Desired Output
10NameCollegeTerm
11AndyKUSpring I
12AndyKUSpring II
13AndyKUSummer
14AndyKUFall I
15AndyKUFall II
16AndyCUSpring I
17AndyCUSpring II
18AndyCUSummer
19AndyCUFall I
20AndyCUFall II
21AndyNUSpring I
22AndyNUSpring II
23AndyNUSummer
Main
Cell Formulas
RangeFormula
A11:C160A11=LET(data,A2:C7,r,ROWS(data),c,COLUMNS(data),m,MID(BASE(SEQUENCE(r^c,,0),r,c),SEQUENCE(,c),1)+1,d,INDEX(data,m,{1,2,3}),FILTER(d,MMULT(--(d=""),SEQUENCE(c,,,0))=0))
Dynamic array formulas.
I get a #SPILL! error with that formula when pasted into A11.
 
Upvote 0
I was able to sort it out! Thank you! Marking as solution.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,689
Members
449,117
Latest member
Aaagu

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