#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Random Numbers

Hi Guys,

How to generate 2 random numbers at the same time whose difference lies in a
given range.

For example,
generate a set of 2 random numbers a,b such that .45 <= (b-a) < = .60

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default Random Numbers

I can help you come up with a random # that is between the two, but you'll
have to figure out how to get a difference between .45 and .60

You'll have to enable the Analysis Tool Pack

On the Tools menu, click Add-Ins.
In the Add-Ins available list, select the Analysis ToolPak box, and then
click OK.
If necessary, follow the instructions in the setup program

You can use =RANDBETWEEN(45,60)/100





"krisinvincible" wrote:

Hi Guys,

How to generate 2 random numbers at the same time whose difference lies in a
given range.

For example,
generate a set of 2 random numbers a,b such that .45 <= (b-a) < = .60

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 524
Default Random Numbers

Mon, 16 Apr 2007 17:36:00 -0700 from krisinvincible
:
Hi Guys,

How to generate 2 random numbers at the same time whose difference lies in a
given range.

For example,
generate a set of 2 random numbers a,b such that .45 <= (b-a) < = .60


Hint: generate a, then generate b as a + .45 + (random 0 to .15).

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
Reply
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
How to select top six numbers from a of range of random numbers Jack M Taylor Excel Worksheet Functions 4 January 30th 07 09:18 PM
I want random numbers generated without repeating numbers Johncobb Excel Worksheet Functions 2 September 7th 06 04:52 PM
Can Excel pick random numbers from 1-300 and not repeat numbers? Julian Excel Discussion (Misc queries) 1 June 7th 06 07:17 AM
Non-random numbers generated by excel's data analysis random gener Allie Excel Worksheet Functions 10 September 17th 05 06:19 AM
Non-random numbers generated by excel's data analysis random gener Harlan Grove Excel Discussion (Misc queries) 2 September 13th 05 04:06 PM


All times are GMT +1. The time now is 06:28 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"