Hi Akuuka,
My understanding of your requirement is that you have some numbers in a cell eg B3 = 12345, and you want to generate random 4 digit number consisting of numbers from B3, like wise 3 digits and 2 digits number. am I right ?
If yes, you can try some thing like this:
=MID(B3,RANDBETWEEN(1,5),1)&MID(B3,RANDBETWEEN(1,5),1)
the above formula will generate random two digit number consisting of numbers from B3.
Keep adding &MID(B3,RANDBETWEEN(1,5),1) to get additional digit.
Regards,
Prasad DN