Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default randbetween(1.1,1.25)

Hi

I need to get random result between 1.1 and 1.25 like :
randbetween(1.1,1.25) or randbetween(1.125,1.235)

It gives always 1. How cani solve this ?

Thanks,

Deniz

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default randbetween(1.1,1.25)

It clearly states integers in the help, try something like this instead

=(RAND()*(1.25-1.1)+1.1

or


=ROUND(RAND()*(1.25-1.1)+1.1,2)



--
Regards,

Peo Sjoblom



"Deniz" wrote in message
...
Hi

I need to get random result between 1.1 and 1.25 like :
randbetween(1.1,1.25) or randbetween(1.125,1.235)

It gives always 1. How cani solve this ?

Thanks,

Deniz



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default randbetween(1.1,1.25)

Deniz,

=1 + RANDBETWEEN(10,25)/100

RANDBETWEEN only takes integers....

HTH,
Bernie
MS Excel MVP


"Deniz" wrote in message ...
Hi

I need to get random result between 1.1 and 1.25 like : randbetween(1.1,1.25) or
randbetween(1.125,1.235)

It gives always 1. How cani solve this ?

Thanks,

Deniz



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default randbetween(1.1,1.25)

Just modify it: =RANDBETWEEN(110,125)/100
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Deniz" wrote:
Hi

I need to get random result between 1.1 and 1.25 like :
randbetween(1.1,1.25) or randbetween(1.125,1.235)

It gives always 1. How cani solve this ?

Thanks,

Deniz


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 pkeegs Excel Worksheet Functions 6 April 27th 07 01:12 AM
RANDBETWEEN Michel AUDIFFREN Excel Discussion (Misc queries) 0 February 26th 06 11:02 PM
randbetween [email protected] Excel Discussion (Misc queries) 1 November 21st 05 01:25 PM
Randbetween Gbonda Excel Discussion (Misc queries) 1 June 30th 05 02:39 PM
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 09:25 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"