Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default RANDBETWEEN INSTALL


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.

I did the first two steps several times and still got #NAME.
So, I should do the third step, but HOW?ALee

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default RANDBETWEEN INSTALL

I generally try to avoid using anything from the Analysis ToolPak whenever
possible. You never know if a user you distribute your workbook to will have
it installed or not, or if they'll even know what an Add-In is. Plus the
problem you've run into where Excel doesn't seem to want to activate it.

The RANDBETWEEN function can be duplicated using the ROUND and RAND
functions (which does not require any Add-Ins).

=ROUND(RAND()*(B1-A1)+A1,0)

Where A1 is the low number in your range, and B1 is the high number.

HTH,
Elkar



"ALee" wrote:


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.

I did the first two steps several times and still got #NAME.
So, I should do the third step, but HOW?ALee

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default RANDBETWEEN INSTALL

Hi,

The key here is that there is a bug in the Analysis Toolpak installation but
it is easy to overcome. After you have attached the Analysis Toolpak, close
Excel and reopen it.

Regarding using this feature. I am not of the opinion that you should avoid
it, instead if you are distributing it to others I suggest letting them know
to attach the Add-In or be prepared to be peppered by phone calls.

--
cheers,
Shane Devenshire


"ALee" wrote:


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.

I did the first two steps several times and still got #NAME.
So, I should do the third step, but HOW?ALee

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default RANDBETWEEN INSTALL

Thank you Elkar :

I still don't understand "If necessary, follow the instructions in the setup
program."
What setup program and where?

Your approach for= RANDBETWEEN(-1,1).
=ROUND(RAND*(1-(-1))+(-1),0) and just got a random set of 1 and 0 instead of
5 place decimals.

An Excel update was to no avail.

This is needed for a Maple program; it is not for distibution.

Onwards.



"Elkar" wrote:

I generally try to avoid using anything from the Analysis ToolPak whenever
possible. You never know if a user you distribute your workbook to will have
it installed or not, or if they'll even know what an Add-In is. Plus the
problem you've run into where Excel doesn't seem to want to activate it.

The RANDBETWEEN function can be duplicated using the ROUND and RAND
functions (which does not require any Add-Ins).

=ROUND(RAND()*(B1-A1)+A1,0)

Where A1 is the low number in your range, and B1 is the high number.

HTH,
Elkar



"ALee" wrote:


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.

I did the first two steps several times and still got #NAME.
So, I should do the third step, but HOW?ALee

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 860
Default RANDBETWEEN INSTALL

To get randoms to 5 decimal places change Elkars formula to
=ROUND(RAND()*(B1-A1)+A1,5)
**note the 5) at the end

Do the same with your hard coded version
=ROUND(RAND()*(1-(-1))+(-1),5)
although you can tidy that up to
=ROUND(RAND()*(1+1)-1,5)

HTH
Martin


"ALee" wrote in message
...
Thank you Elkar :

I still don't understand "If necessary, follow the instructions in the
setup
program."
What setup program and where?

Your approach for= RANDBETWEEN(-1,1).
=ROUND(RAND*(1-(-1))+(-1),0) and just got a random set of 1 and 0 instead
of
5 place decimals.

An Excel update was to no avail.

This is needed for a Maple program; it is not for distibution.

Onwards.



"Elkar" wrote:

I generally try to avoid using anything from the Analysis ToolPak
whenever
possible. You never know if a user you distribute your workbook to will
have
it installed or not, or if they'll even know what an Add-In is. Plus the
problem you've run into where Excel doesn't seem to want to activate it.

The RANDBETWEEN function can be duplicated using the ROUND and RAND
functions (which does not require any Add-Ins).

=ROUND(RAND()*(B1-A1)+A1,0)

Where A1 is the low number in your range, and B1 is the high number.

HTH,
Elkar



"ALee" wrote:


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.

I did the first two steps several times and still got #NAME.
So, I should do the third step, but HOW?ALee





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default RANDBETWEEN INSTALL

Thank you one and all for the informative discussion
I finally got RANDBETWEEN to work, not quite sure how.
I needed this command to put into a Maple procedure.
On other occasions, the work around would be helpful.
Muchos gracias,
A. Lee

"ALee" wrote:


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.

I did the first two steps several times and still got #NAME.
So, I should do the third step, but HOW?ALee

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default RANDBETWEEN INSTALL

I came across this formula ={TABLE(E1,)} when I selected a cell and when I
double clicked the cell to edit, the function RANDBETWEEN displayed in the
Name Box. What does this formula mean? What do the curly brackets mean? Is
this part of the Analysis ToolPak addin?

Carol

"ShaneDevenshire" wrote:

Hi,

The key here is that there is a bug in the Analysis Toolpak installation but
it is easy to overcome. After you have attached the Analysis Toolpak, close
Excel and reopen it.

Regarding using this feature. I am not of the opinion that you should avoid
it, instead if you are distributing it to others I suggest letting them know
to attach the Add-In or be prepared to be peppered by phone calls.

--
cheers,
Shane Devenshire


"ALee" wrote:


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.

I did the first two steps several times and still got #NAME.
So, I should do the third step, but HOW?ALee

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 110
Default RANDBETWEEN INSTALL

Carol -

What does this formula mean? <


It's a data table. In Excel 2003 and earlier, it's entered by choosing Data
Table. In Excel 2007 and 2010 it's entered by choosing Data What-If

Analysis Data Table.

What do the curly brackets mean? <


Excel adds the curly brackets when you create an array-entered formula. But
={TABLE(E1,)} is special in that it can only be entered using the Data Table
command.

Is this part of the Analysis ToolPak addin? <


Data Table is not part of the Analysis ToolPak. Data Table is always
available in standard Excel.

RANDBETWEEN was a part of Analysis ToolPak in Excel 2003 and earlier. It is
a standard always-available function in Excel 2007 and 2010.

- Mike
http://www.MikeMiddleton.com



"Essentials_Carol" wrote in
message ...
I came across this formula ={TABLE(E1,)} when I selected a cell and when I
double clicked the cell to edit, the function RANDBETWEEN displayed in the
Name Box. What does this formula mean? What do the curly brackets mean?
Is
this part of the Analysis ToolPak addin?

Carol

"ShaneDevenshire" wrote:

Hi,

The key here is that there is a bug in the Analysis Toolpak installation
but
it is easy to overcome. After you have attached the Analysis Toolpak,
close
Excel and reopen it.

Regarding using this feature. I am not of the opinion that you should
avoid
it, instead if you are distributing it to others I suggest letting them
know
to attach the Add-In or be prepared to be peppered by phone calls.

--
cheers,
Shane Devenshire


"ALee" wrote:


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.

I did the first two steps several times and still got #NAME.
So, I should do the third step, but HOW?ALee

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
RANDBETWEEN Michel AUDIFFREN Excel Discussion (Misc queries) 0 February 26th 06 11:02 PM
What program do I install to install office 2003 with no prior pro lwd Excel Discussion (Misc queries) 1 January 8th 06 09:37 PM
randbetween [email protected] Excel Discussion (Misc queries) 1 November 21st 05 01:25 PM
Why does PHStats *NOT* install when I install Analytical ToolPak? webeditor-coutre Setting up and Configuration of Excel 1 July 5th 05 06:58 AM
randbetween gives ?NAME Kristjan_Thor Excel Discussion (Misc queries) 5 March 14th 05 11:41 PM


All times are GMT +1. The time now is 01:33 PM.

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"