Hello!
I have trouble generating a spreadsheet with permutations with repetition which I need to use for an Index. I need the spreadsheet to look like this:
AAAA
AAAB
......
ZZZY
ZZZZ
Can you help me please? Thank you!
Hello!
I have trouble generating a spreadsheet with permutations with repetition which I need to use for an Index. I need the spreadsheet to look like this:
AAAA
AAAB
......
ZZZY
ZZZZ
Can you help me please? Thank you!
From our forum:
https://www.excelforum.com/excel-for...-to-zzzzz.html
For you as 4 letters:
Formula:Please Login or Register to view this content.
Last edited by KOKOSEK; 05-31-2021 at 06:52 AM.
Happy with my answer * Add Reputation.
If You are happy with solution, please use Thread tools and mark thread as SOLVED.
Sorry, and thank you for your quick answer. I'm new to Excel formulas unfortunately. I checked and I actually use Office 2019. When i try to copy/paste the formula I get this error:
Attachment 734749
Found my problem. I needed to replace the comma with a semicolon here: =CHAR(MOD(INT((ROWS(B$1:B2)-2)/26^3) , 26) + 65)
Thank you very much for your help!
Last edited by PZANE; 05-31-2021 at 07:11 AM.
For ex. into A2 and then drag it down as long as you will get ZZZZ.
edit1: Regional settings.
edit2: However formula is correct that kills CPU (killed mine on Win10 64 bit), so if you can use VBA I recommend use this:
It takes a while but you will get what you need.Please Login or Register to view this content.
Last edited by KOKOSEK; 05-31-2021 at 08:00 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks