How would I use Excel to produce all permutations of the letters of the alphabet that include just 3 letters?
Here's an example:
aaa
aab
aac
aad
aae
etc.
Thanks,
LongFisher
How would I use Excel to produce all permutations of the letters of the alphabet that include just 3 letters?
Here's an example:
aaa
aab
aac
aad
aae
etc.
Thanks,
LongFisher
Drag row 37 down about 17,000 more rows.
Entia non sunt multiplicanda sine necessitate
A quick macro solution would be:
![]()
Sub aaaTozzz() Dim a As Integer, b As Integer, c As Integer, rRow As Long rRow = 1 For a = 97 To 122 For b = 97 To 122 For c = 97 To 122 Cells(rRow, 1) = Chr(a) & Chr(b) & Chr(c) rRow = rRow + 1 Next c Next b Next a End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks