Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a worksheet which generates a random number between two base numbers
using the RANDBETWEEN Function. Whenever I close the sheet and reopen, the workbook won't recognise the function. I go into the add-ins and check the Analysis Toolpak option, reset my number and it works fine - until I open it after closing. Again I have to go in and recheck the Analysis Toopak. Any suggestions as to what is going on. Regards - Peterk |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Don't have any suggestions about what's happening with the ATP.
As an alternative to the ATP RANDBETWEEN function, try this: =INT((top_number-bottom_number+1)*RAND()+bottom_number) For example: =RANDBETWEEN(1,100) =INT((100-1+1)*RAND()+1) Note that this is still a *volatile* function Biff "pkeegs" wrote in message ... I have a worksheet which generates a random number between two base numbers using the RANDBETWEEN Function. Whenever I close the sheet and reopen, the workbook won't recognise the function. I go into the add-ins and check the Analysis Toolpak option, reset my number and it works fine - until I open it after closing. Again I have to go in and recheck the Analysis Toopak. Any suggestions as to what is going on. Regards - Peterk |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Another way:
=Int(Rand()*100+1) T. Valko เขียน: Don't have any suggestions about what's happening with the ATP. As an alternative to the ATP RANDBETWEEN function, try this: =INT((top_number-bottom_number+1)*RAND()+bottom_number) For example: =RANDBETWEEN(1,100) =INT((100-1+1)*RAND()+1) Note that this is still a *volatile* function Biff "pkeegs" wrote in message ... I have a worksheet which generates a random number between two base numbers using the RANDBETWEEN Function. Whenever I close the sheet and reopen, the workbook won't recognise the function. I go into the add-ins and check the Analysis Toolpak option, reset my number and it works fine - until I open it after closing. Again I have to go in and recheck the Analysis Toopak. Any suggestions as to what is going on. Regards - Peterk |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
That's pretty limited.
What if the range was 50 to 100 ? Biff wrote in message ups.com... Another way: =Int(Rand()*100+1) T. Valko ?????: Don't have any suggestions about what's happening with the ATP. As an alternative to the ATP RANDBETWEEN function, try this: =INT((top_number-bottom_number+1)*RAND()+bottom_number) For example: =RANDBETWEEN(1,100) =INT((100-1+1)*RAND()+1) Note that this is still a *volatile* function Biff "pkeegs" wrote in message ... I have a worksheet which generates a random number between two base numbers using the RANDBETWEEN Function. Whenever I close the sheet and reopen, the workbook won't recognise the function. I go into the add-ins and check the Analysis Toolpak option, reset my number and it works fine - until I open it after closing. Again I have to go in and recheck the Analysis Toopak. Any suggestions as to what is going on. Regards - Peterk |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Ranbetween 50-100
=Int(Rand()*(50+1)+50) or =Int(Rand()*51+50) Santipong T. Valko เขียน: That's pretty limited. What if the range was 50 to 100 ? Biff wrote in message ups.com... Another way: =Int(Rand()*100+1) T. Valko ?????: Don't have any suggestions about what's happening with the ATP. As an alternative to the ATP RANDBETWEEN function, try this: =INT((top_number-bottom_number+1)*RAND()+bottom_number) For example: =RANDBETWEEN(1,100) =INT((100-1+1)*RAND()+1) Note that this is still a *volatile* function Biff "pkeegs" wrote in message ... I have a worksheet which generates a random number between two base numbers using the RANDBETWEEN Function. Whenever I close the sheet and reopen, the workbook won't recognise the function. I go into the add-ins and check the Analysis Toolpak option, reset my number and it works fine - until I open it after closing. Again I have to go in and recheck the Analysis Toopak. Any suggestions as to what is going on. Regards - Peterk |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
are you sure the checkmark is showing in the box before you leave the add-in
box? "pkeegs" wrote: I have a worksheet which generates a random number between two base numbers using the RANDBETWEEN Function. Whenever I close the sheet and reopen, the workbook won't recognise the function. I go into the add-ins and check the Analysis Toolpak option, reset my number and it works fine - until I open it after closing. Again I have to go in and recheck the Analysis Toopak. Any suggestions as to what is going on. Regards - Peterk |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Good Question bj. I admit I move around the options pretty quick, and am sure
that the box was checked before I exited, but will focus on that next time, Regards "bj" wrote: are you sure the checkmark is showing in the box before you leave the add-in box? "pkeegs" wrote: I have a worksheet which generates a random number between two base numbers using the RANDBETWEEN Function. Whenever I close the sheet and reopen, the workbook won't recognise the function. I go into the add-ins and check the Analysis Toolpak option, reset my number and it works fine - until I open it after closing. Again I have to go in and recheck the Analysis Toopak. Any suggestions as to what is going on. Regards - Peterk |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
RANDBETWEEN | Excel Discussion (Misc queries) | |||
randbetween function | Excel Discussion (Misc queries) | |||
randbetween | Excel Discussion (Misc queries) | |||
Randbetween | Excel Discussion (Misc queries) | |||
randbetween gives ?NAME | Excel Discussion (Misc queries) |