View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Random Letter Generator

Here's one way that doesn't require you to list letters.

=CHAR(RANDBETWEEN(65,90))

That'll return the letter in uppercase.

--
Biff
Microsoft Excel MVP


"Lost in Microbiology" wrote
in message ...
I have the alaphabet in column 1 starting at row 4. I would like for a cell
to randomly pick one of the 26 letters of the alphabet. In cell B4 I have
the
following formula:

=INDEX($A$4:$A$29,INT(RANDBETWEEN(4,29)),0)

It works, every few refreshes (F9), it will give me a #REF! error. I can
not
figure out why. Any help would be appreciated as this is frustrating me.

Thanks.