LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
ramana
 
Posts: n/a
Default Generate random numberes using reference to the other cell.

Hi Everybody,

I have problem in generating random numbers depending on the other
cell value. My Problem is like this.
In column A I have 10 numbers Now I wnat to generate 20 random numbers,
This can be done By giving reference to one cell for two times.

Ex:

A1=1,A2=1,A3=2,A4=5,A5=2,A6=1,A7=2,A8=2,A9=1,A10=2
Now In B1=If(A1<=1,randbetween(10,20),randbetween(20,30))
In B2=if(A1=,randbetween(10,20),randbetween(20,30))
I used For B1&B2 the cell A1 as reference as because I have to generate
20 random numbers from 10 refernce cells in Column A. and this can be
done.(20/10=2)

But When we have only Say 7 reference cells in column A and the random
numbers to be generated are 20 in Column B what kind of relation ship
can I apply In column B.(20/7=2.85). Is there any method that the
references can be given for the column B in Column A to generate the
required random numbers.

Thanks and Regards

Ramana

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
how to include a cell reference that is contained in a cell withi. dutchinny Excel Worksheet Functions 5 October 24th 05 01:07 AM
How do I leave formula cell blank if 2nd reference cell is empty? Liana S Excel Discussion (Misc queries) 2 October 21st 05 04:38 PM
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. [email protected] Excel Worksheet Functions 2 December 11th 04 12:05 AM
name of another worksheet in cell for reference Tom A Johnson Excel Worksheet Functions 2 November 11th 04 11:28 PM


All times are GMT +1. The time now is 10:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"