Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-25-2019, 06:31 AM
derohanes derohanes is offline RANDBETWEEN question Windows 10 RANDBETWEEN question Office 2013
Advanced Beginner
RANDBETWEEN question
 
Join Date: Oct 2008
Posts: 67
derohanes is on a distinguished road
Default RANDBETWEEN question

I am trying to generate a column of random numbers between the values in the first and second column, using RANDBETWEEN(F3,G3) in column H (the third column). The result is not what I expect, all 1s. How can I get a random number between the first two numbers?
[IMG]C:\Users\edd\Desktop\Untitled.jpg[/IMG]
Attached Images
File Type: jpg Untitled.jpg (34.3 KB, 18 views)
Reply With Quote
  #2  
Old 01-25-2019, 07:38 AM
xor xor is offline RANDBETWEEN question Windows 10 RANDBETWEEN question Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

=randbetween((f3*10000),(g3*10000))/10000
Reply With Quote
  #3  
Old 01-25-2019, 09:24 AM
derohanes derohanes is offline RANDBETWEEN question Windows 10 RANDBETWEEN question Office 2013
Advanced Beginner
RANDBETWEEN question
 
Join Date: Oct 2008
Posts: 67
derohanes is on a distinguished road
Default

Very interesting. Why the 10000 though. Does it have to be a whole number?
Reply With Quote
  #4  
Old 01-25-2019, 09:38 AM
xor xor is offline RANDBETWEEN question Windows 10 RANDBETWEEN question Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

From Excel's help on RANDBETWEEN:

This article describes the formula syntax and usage of the RANDBETWEEN function in Microsoft Excel.

Description
Returns a random integer number between the numbers you specify. A new random integer number is returned every time the worksheet is calculated.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
RandBetween for PowerPoint excelledsoftware PowerPoint 1 09-19-2014 11:32 PM
RANDBETWEEN question Macro Needed to Insert Asnwer to A Question in Multiple Choice Format Question rsrasc Word VBA 7 03-28-2014 12:28 PM
RANDBETWEEN question RandBetween Formula Help acbh Excel 1 09-12-2013 06:51 PM
RANDBETWEEN question Question jmsa7 Excel 3 12-13-2011 01:44 AM
Categories question & replying with attachment question glitzymama Outlook 0 03-15-2006 09:32 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:24 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft