Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
Hookster23
 
Posts: n/a
Default random number

Could someone help me with the following problem in excel:

I would like to be able to generate 20 random numbers whereby the
number generated is between say -15 and 40 where once all the numbers
are generated the average of all 20 numbers is 8 for example. I guess I
could generate 19 random numbers with the above parameters and the 20th
number would be a plug to achieve the correct average but was wondering
if there was another way.

Thank you for your help.


Answer can be either through using excel itself or through a macro code
for excel.

 
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
Random Number generator Neil M Excel Worksheet Functions 2 February 1st 06 06:00 PM
Random letter and number generator Marie1uk Excel Worksheet Functions 4 January 23rd 06 06:04 PM
random number generation scotjo Excel Worksheet Functions 4 January 9th 06 04:06 PM
random number without repeating? nonoi via OfficeKB.com Excel Worksheet Functions 2 July 11th 05 05:59 AM
Random Number Questions Greegan Excel Worksheet Functions 1 January 5th 05 02:00 AM


All times are GMT +1. The time now is 05:45 AM.

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

About Us

"It's about Microsoft Excel"