![]() |
RANDBETWEEN
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 |
RANDBETWEEN
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 |
RANDBETWEEN
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 |
RANDBETWEEN
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 |
RANDBETWEEN
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 |
RANDBETWEEN
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 |
RANDBETWEEN
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 |
All times are GMT +1. The time now is 09:23 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com