A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

pick from letters A-Z?



 
 
Thread Tools Display Modes
  #1  
Old November 10th, 2008, 05:27 AM posted to microsoft.public.excel.worksheet.functions
hulton
external usenet poster
 
Posts: 1
Default 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
  #2  
Old November 10th, 2008, 06:25 AM posted to microsoft.public.excel.worksheet.functions
Sheeloo[_3_]
external usenet poster
 
Posts: 1,713
Default 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

  #3  
Old November 10th, 2008, 10:32 AM posted to microsoft.public.excel.worksheet.functions
David Biddulph
external usenet poster
 
Posts: 8,714
Default 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



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:29 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.