Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Help on several formulas
Hi,
I would like the formulas to generate the following results on excel 2003: 1. Generate a random number from 0 to 10 exclusively 2. Generate a random number within 1 to 100 which is multiple of 3. 3. Generate a random number between 100 and 1000. 4. Produce a random date in year 2005. I would also want the answer from the question below: What is the output (possible range) of the following formula? =INT(RAND()*10) + INT(RAND()*20)+5 Thx in advance for all your help! Best Regards, Christopher |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Help on several formulas
Is this homework?
Pete On Nov 3, 3:45*pm, Christopher wrote: Hi, I would like the formulas to generate the following results on excel 2003: 1. Generate a random number from 0 to 10 exclusively 2. Generate a random number within 1 to 100 which is multiple of 3. 3. Generate a random number between 100 and 1000. 4. Produce a random date in year 2005. I would also want the answer from the question below: What is the output (possible range) of the following formula? =INT(RAND()*10) + INT(RAND()*20)+5 Thx in advance for all your help! Best Regards, Christopher |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Help on several formulas
Sounds like homework to me.
-- ** John C ** "Christopher" wrote: Hi, I would like the formulas to generate the following results on excel 2003: 1. Generate a random number from 0 to 10 exclusively 2. Generate a random number within 1 to 100 which is multiple of 3. 3. Generate a random number between 100 and 1000. 4. Produce a random date in year 2005. I would also want the answer from the question below: What is the output (possible range) of the following formula? =INT(RAND()*10) + INT(RAND()*20)+5 Thx in advance for all your help! Best Regards, Christopher |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Help on several formulas
1) int(rand()*11) 2) =CEILING(RAND()*101,3) 3) =MAX(100,(INT(RAND()*1001))) 4)=DATE(2005,INT(RAND()*13),INT(RAND()*31)) "Christopher" wrote: Hi, I would like the formulas to generate the following results on excel 2003: 1. Generate a random number from 0 to 10 exclusively 2. Generate a random number within 1 to 100 which is multiple of 3. 3. Generate a random number between 100 and 1000. 4. Produce a random date in year 2005. I would also want the answer from the question below: What is the output (possible range) of the following formula? =INT(RAND()*10) + INT(RAND()*20)+5 Thx in advance for all your help! Best Regards, Christopher |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Help on several formulas
Yes, it's in fact a homework that neither my classmates or I know how to do,
and there fore I am posting some of my questions here seeking for help from the community. I appologize to those who think I shouldn't post homework in this forum. P.S. may I ask a few more questions? ^.^ Generate a random number from 0 to 10 inclusively Generate a random number from 0 to 10 exclusively Thanks in advance!! "Pete_UK" wrote: Is this homework? Pete On Nov 3, 3:45 pm, Christopher wrote: Hi, I would like the formulas to generate the following results on excel 2003: 1. Generate a random number from 0 to 10 exclusively 2. Generate a random number within 1 to 100 which is multiple of 3. 3. Generate a random number between 100 and 1000. 4. Produce a random date in year 2005. I would also want the answer from the question below: What is the output (possible range) of the following formula? =INT(RAND()*10) + INT(RAND()*20)+5 Thx in advance for all your help! Best Regards, Christopher |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Help on several formulas
Well, I'm not going to give you the exact answers, but have you tried
Excel Help for RAND and RANDBETWEEN? Some of the examples there might help you. You might also think about looking up the INT function. Hope this helps. Pete On Nov 3, 4:06*pm, Christopher wrote: Yes, it's in fact a homework that neither my classmates or I know how to do, and there fore I am posting some of my questions here seeking for help from the community. *I appologize to those who think I shouldn't post homework in this forum. P.S. may I ask a few more questions? ^.^ * * * *Generate a random number from 0 to 10 inclusively * * * *Generate a random number from 0 to 10 exclusively Thanks in advance!! "Pete_UK" wrote: Is this homework? Pete On Nov 3, 3:45 pm, Christopher wrote: Hi, I would like the formulas to generate the following results on excel 2003: 1. Generate a random number from 0 to 10 exclusively 2. Generate a random number within 1 to 100 which is multiple of 3. 3. Generate a random number between 100 and 1000. 4. Produce a random date in year 2005. I would also want the answer from the question below: What is the output (possible range) of the following formula? =INT(RAND()*10) + INT(RAND()*20)+5 Thx in advance for all your help! Best Regards, Christopher- Hide quoted text - - Show quoted text - |
#8
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Help on several formulas
Go to the offline microsoft help, more than adequate to meet your needs. Live
it, learn it, love it. -- ** John C ** "Christopher" wrote: Yes, it's in fact a homework that neither my classmates or I know how to do, and there fore I am posting some of my questions here seeking for help from the community. I appologize to those who think I shouldn't post homework in this forum. P.S. may I ask a few more questions? ^.^ Generate a random number from 0 to 10 inclusively Generate a random number from 0 to 10 exclusively Thanks in advance!! "Pete_UK" wrote: Is this homework? Pete On Nov 3, 3:45 pm, Christopher wrote: Hi, I would like the formulas to generate the following results on excel 2003: 1. Generate a random number from 0 to 10 exclusively 2. Generate a random number within 1 to 100 which is multiple of 3. 3. Generate a random number between 100 and 1000. 4. Produce a random date in year 2005. I would also want the answer from the question below: What is the output (possible range) of the following formula? =INT(RAND()*10) + INT(RAND()*20)+5 Thx in advance for all your help! Best Regards, Christopher |
#9
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Help on several formulas
Yes, I have. In fact we're restricted to use the RAND() and INT() functions
only. There are 23 students in my class and none of them know how to do it. And therefore I'm seeking help in this forum. Many thanks, Christopher "Pete_UK" wrote: Well, I'm not going to give you the exact answers, but have you tried Excel Help for RAND and RANDBETWEEN? Some of the examples there might help you. You might also think about looking up the INT function. Hope this helps. Pete On Nov 3, 4:06 pm, Christopher wrote: Yes, it's in fact a homework that neither my classmates or I know how to do, and there fore I am posting some of my questions here seeking for help from the community. I appologize to those who think I shouldn't post homework in this forum. P.S. may I ask a few more questions? ^.^ Generate a random number from 0 to 10 inclusively Generate a random number from 0 to 10 exclusively Thanks in advance!! "Pete_UK" wrote: Is this homework? Pete On Nov 3, 3:45 pm, Christopher wrote: Hi, I would like the formulas to generate the following results on excel 2003: 1. Generate a random number from 0 to 10 exclusively 2. Generate a random number within 1 to 100 which is multiple of 3. 3. Generate a random number between 100 and 1000. 4. Produce a random date in year 2005. I would also want the answer from the question below: What is the output (possible range) of the following formula? =INT(RAND()*10) + INT(RAND()*20)+5 Thx in advance for all your help! Best Regards, Christopher- Hide quoted text - - Show quoted text - |
#10
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Help on several formulas
If you have looked at Excel Help you will know that RAND produces a
random number greater than or equal to 0 and less than 1. You will also know that INT rounds a number down to an integer, so that: =INT(8.95) returns 8 So, consider what happens when you multiply RAND by 50 - you will get a random number greater than or equal to 0 and less than 50, so that: =INT(50*RAND()) would give you a random whole number between 0 and 49 inclusive. If you were to add, say, 6 to this, so that you have: =INT(50*RAND())+6 then you would get a random whole number between 6 and 55 inclusive. You should be able to go on from there, particularly as XL Help tells you that: " ... To generate a random real number between a and b, use: RAND()*(b-a)+a .... " Hope this helps. Pete On Nov 4, 8:56*am, Christopher wrote: Yes, I have. *In fact we're restricted to use the RAND() and INT() functions only. *There are 23 students in my class and none of them know how to do it. * And therefore I'm seeking help in this forum. Many thanks, Christopher "Pete_UK" wrote: Well, I'm not going to give you the exact answers, but have you tried Excel Help for RAND and RANDBETWEEN? Some of the examples there might help you. You might also think about looking up the INT function. Hope this helps. Pete On Nov 3, 4:06 pm, Christopher wrote: Yes, it's in fact a homework that neither my classmates or I know how to do, and there fore I am posting some of my questions here seeking for help from the community. *I appologize to those who think I shouldn't post homework in this forum. P.S. may I ask a few more questions? ^.^ * * * *Generate a random number from 0 to 10 inclusively * * * *Generate a random number from 0 to 10 exclusively Thanks in advance!! "Pete_UK" wrote: Is this homework? Pete On Nov 3, 3:45 pm, Christopher wrote: Hi, I would like the formulas to generate the following results on excel 2003: 1. Generate a random number from 0 to 10 exclusively 2. Generate a random number within 1 to 100 which is multiple of 3. 3. Generate a random number between 100 and 1000. 4. Produce a random date in year 2005. I would also want the answer from the question below: What is the output (possible range) of the following formula? =INT(RAND()*10) + INT(RAND()*20)+5 Thx in advance for all your help! Best Regards, Christopher- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP | Excel Worksheet Functions | |||
lookup formulas dependent upon lookup formulas | Excel Worksheet Functions | |||
automatically copy formulas down columns or copy formulas all the | Excel Worksheet Functions | |||
Formulas not evaluated, Formulas treated as strings | Excel Discussion (Misc queries) | |||
formulas for changing formulas? | Excel Discussion (Misc queries) |