View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
joeu2004 joeu2004 is offline
external usenet poster
 
Posts: 2,059
Default Same =rand() value in two adjacent cells in column

On Nov 18, 5:19*pm, PSRumbagh
wrote:
I want to use the rand() function to put the same
random value in two adjacent cells in a row and then
a new random value in the next two cells, etc.


In C1, put the formula =RAND(). In C2, put the formula =C1. Select
the two cells, and copy-and-paste or drag down through the rest of the
column.

up to about cell c2000.


In my experience, it is a drag :-) to copy/drag through so many
cells. The following works well for me. Select C1:C2 and copy (e.g,
ctrl-C). Enter C3:C2000 in the Name Box (near the upper left in my
set-up). That should select that range. Put the cursor in the
highlighted C3 and paste (e.g, ctrl-V).

HTH.