Permutations for 4 columns each of three values

skinnea

Board Regular
Joined
Mar 15, 2003
Messages
135
Office Version
  1. 365
Platform
  1. Windows
Hi. I have this data set in cells A1:D4

EffortBenefitAlignmentFocus
LowHighDirectHigh
MedMedIndirectMed
HighLowNoneLow

I'd like to determine the (64?) possible permutations, in a single list.

How might I do that with a formula please?
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Permutations as in Low-High-Direct-High, Low-High-Direct-Medium, etc
 
Upvote 0
Is this what you want?
Fluff.xlsm
ABCDEFGHI
1EffortBenefitAlignmentFocus
2LowHighDirectHighLowHighDirectHigh
3MedMedIndirectMedLowHighDirectMed
4HighLowNoneLowLowHighDirectLow
5LowHighIndirectHigh
6LowHighIndirectMed
7LowHighIndirectLow
8LowHighNoneHigh
9LowHighNoneMed
10LowHighNoneLow
11LowMedDirectHigh
12LowMedDirectMed
13LowMedDirectLow
14LowMedIndirectHigh
15LowMedIndirectMed
16LowMedIndirectLow
17LowMedNoneHigh
18LowMedNoneMed
19LowMedNoneLow
20LowLowDirectHigh
21LowLowDirectMed
22LowLowDirectLow
23LowLowIndirectHigh
24LowLowIndirectMed
25LowLowIndirectLow
26LowLowNoneHigh
27LowLowNoneMed
28LowLowNoneLow
29MedHighDirectHigh
30MedHighDirectMed
Data
Cell Formulas
RangeFormula
F2:I82F2=INDEX(A2:D4,MID(BASE(SEQUENCE(3^4,,0),3,4),SEQUENCE(,4),1)+1,{1,2,3,4})
Dynamic array formulas.
 
Upvote 0
Is this what you want?
Fluff.xlsm
ABCDEFGHI
1EffortBenefitAlignmentFocus
2LowHighDirectHighLowHighDirectHigh
3MedMedIndirectMedLowHighDirectMed
4HighLowNoneLowLowHighDirectLow
5LowHighIndirectHigh
6LowHighIndirectMed
7LowHighIndirectLow
8LowHighNoneHigh
9LowHighNoneMed
10LowHighNoneLow
11LowMedDirectHigh
12LowMedDirectMed
13LowMedDirectLow
14LowMedIndirectHigh
15LowMedIndirectMed
16LowMedIndirectLow
17LowMedNoneHigh
18LowMedNoneMed
19LowMedNoneLow
20LowLowDirectHigh
21LowLowDirectMed
22LowLowDirectLow
23LowLowIndirectHigh
24LowLowIndirectMed
25LowLowIndirectLow
26LowLowNoneHigh
27LowLowNoneMed
28LowLowNoneLow
29MedHighDirectHigh
30MedHighDirectMed
Data
Cell Formulas
RangeFormula
F2:I82F2=INDEX(A2:D4,MID(BASE(SEQUENCE(3^4,,0),3,4),SEQUENCE(,4),1)+1,{1,2,3,4})
Dynamic array formulas.
Yes it is ... Is it possible to concatenate the results (ie all 4 words run together for each outcome) so they appear in a single column?
 
Upvote 0
How about
Excel Formula:
=BYROW(INDEX(A2:D4,MID(BASE(SEQUENCE(3^4,,0),3,4),SEQUENCE(,4),1)+1,{1,2,3,4}),LAMBDA(br,CONCAT(br)))
 
Upvote 0

Forum statistics

Threads
1,215,302
Messages
6,124,148
Members
449,146
Latest member
el_gazar

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