ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   formula to select numbers from a range (https://www.excelbanter.com/excel-worksheet-functions/71581-formula-select-numbers-range.html)

mark (plymouth)

formula to select numbers from a range
 
I am trying to create a formula which would select 6 unique numbers from a
range between 1 and 24 and list trhem into a cell.
Can anyone help please?

Gary''s Student

formula to select numbers from a range
 
Do it in two steps:


In A1 thru A24 enter 1 thru 24
In B1 thru B24 enter RAND()

Sort the columns by column B (this will shuffle the data in column A)

In C1 enter
=A1 & A2 & A3 & A4 & A5 & A6
This will pick up a randon, unique set of numbers.

--
Gary''s Student


"mark (plymouth)" wrote:

I am trying to create a formula which would select 6 unique numbers from a
range between 1 and 24 and list trhem into a cell.
Can anyone help please?



All times are GMT +1. The time now is 10:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com