Home |
Search |
Today's Posts |
#11
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On 20 Sep, 21:44, wrote:
Using excel, if I have a list of numbers e.g. 1000 2223 2448 1229 3883 2238 4488 2388 etc. Is there a way to do it - Generate a random number between 0 and 10 - If number is greater than 7 then change the number so that the last digit & the second last digit are tranposed (e.g. 2448 becomes 2484) notes SIX DIGIT NUMBER get the same =LEFT(Q9,1)*100000+MID(Q9,2,1)*10000+MID(Q9,3,1)*1 000+MID(Q9,4,1)*100+MID(Q9,5,1)*10+MID(Q9,6,1)*1 tranpose 2 digits =LEFT(Q9,1)*100000+MID(Q9,2,1)*10000+MID(Q9,4,1)*1 000+MID(Q9,3,1)*100+MID(Q9,5,1)*10+MID(Q9,6,1)*1 =IF(RANDBETWEEN(0,10)7,LEFT(Q9,1)*100000+MID(Q9,2 ,1)*10000+MID(Q9,4,1)*1000+MID(Q9,3,1)*100+MID(Q9, 5,1)*10+MID(Q9,6,1)*1,Q9) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do i insert numbers from Random list (1-60) without repeating | Excel Discussion (Misc queries) | |||
how do i insert numbers from Random list (1-45) without repeating | Excel Discussion (Misc queries) | |||
How can I create a list of random numbers with no duplicates? | Excel Discussion (Misc queries) | |||
I wish to change the last digit in a list of random numbers. To a. | Excel Worksheet Functions | |||
Random list (1-45) without repeating numbers? | Excel Worksheet Functions |