LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 187
Default RANDBETWEEN function returns #NAME?

David, yes I happened to do this, and it seemed to fix the problem.

Thanks, also, for your alternative formula.

Dave

On Jul 31, 11:58 am, "David Biddulph" <groups [at] biddulph.org.uk
wrote:
There is a reported bug where even if Analysis toolpak is enabled it
occasionally fails to load. Sometimes closing Excel & reopening does the
trick, but otherwise it may be worth disabling then re-enabling the analysis
toolpak.

As far as your suggestion of RAND and INT is concerned, try
=IF(K2="BER",INT(22+5*RAND()),INT(35+3*RAND()))
--
David Biddulph

"Dave F" wrote in message

oups.com...



Using this formula,
=IF(K2="BER",randbetween(22,26),randbetween(35,37) )


I get the #NAME? error.


Analysis toolpak is installed. Using a work pc with XL 03 and relying
on company IT department to solve this issue is not in the cards.


SO, how can this formula be rewritten using the RAND function?
Presumably some combination of RAND and INT but I'm not sure.


Thanks.


Dave- Hide quoted text -


- Show quoted text -





 
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
INT Function Returns 1 bhavesh Excel Worksheet Functions 3 December 29th 06 02:48 PM
How do you avoid duplicates when using the randbetween function? Monica Excel Worksheet Functions 2 February 16th 06 05:45 AM
randbetween function Tracey Excel Discussion (Misc queries) 5 February 11th 06 12:23 AM
Why doesn't my =RANDBETWEEN function work? DanielWalters6 Excel Discussion (Misc queries) 4 December 19th 05 10:28 AM
why doesnt my RANDBETWEEN function work? Edd C Excel Worksheet Functions 4 August 10th 05 02:02 PM


All times are GMT +1. The time now is 04:10 PM.

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

About Us

"It's about Microsoft Excel"