ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   pick from letters A-Z? (https://www.excelbanter.com/excel-worksheet-functions/209647-pick-letters-z.html)

hulton

pick from letters A-Z?
 
I would like to randomly pick letters from A to Z each time I ask the sheet
to get a new letter

Sheeloo[_3_]

pick from letters A-Z?
 
Try

=CHAR(ROUND(RAND()*25+1,0)+64)

"hulton" wrote:

I would like to randomly pick letters from A to Z each time I ask the sheet
to get a new letter


David Biddulph[_2_]

pick from letters A-Z?
 
Doesn't that give half the probability for A or Z compared with the other
letters?

=CHAR(RANDBETWEEN(65,90)) if you've got ATP installed, or
=CHAR(INT(RAND()*26)+65) or possibly just
=CHAR(RAND()*26+65)
--
David Biddulph


"Sheeloo" <="to" & CHAR(95) & "sheeloo" & CHAR(64) & "hotmail.com" wrote in
message ...
Try

=CHAR(ROUND(RAND()*25+1,0)+64)

"hulton" wrote:

I would like to randomly pick letters from A to Z each time I ask the
sheet
to get a new letter





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

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