0

I need to generate acronyms consisting of the letter "i" + a random number between 1 and 7. Currently I do it with this formula:

= CONCAT ("i"; RANDBETWEEN (1; 7))

For example the output can be i4.

Then I need to generate a second abbreviation, but the following number "i" must be different from the previous one, therefore from i1 to i7 excluding i4. I have tried several formulas but without success.

1 Answer 1

2

Using Excel 365 and the US Locale, in a cell enter:

="i" & SORTBY(SEQUENCE(7),RANDARRAY(7))

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.