+ Reply to Thread
Results 1 to 5 of 5

Rand and Randbetween Functions to generate percentages

  1. #1
    Registered User
    Join Date
    02-27-2018
    Location
    Michigan, United States
    MS-Off Ver
    2016 Excel
    Posts
    19

    Rand and Randbetween Functions to generate percentages

    How would you generate 25 (numbers) percentages such that a fourth of them are between 26% and 74.7%, and then the other three fourth are between 89% and 99%?

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Rand and Randbetween Functions to generate percentages

    A quarter of 25 is 6.25?

  3. #3
    Registered User
    Join Date
    02-27-2018
    Location
    Michigan, United States
    MS-Off Ver
    2016 Excel
    Posts
    19

    Re: Rand and Randbetween Functions to generate percentages

    I'm not sure, thats what I was told to do...currently i have =(IF(RANDBETWEEN(1,4)=1,RANDBETWEEN(26,74.7),RANDBETWEEN(89,99))/100) but it seems to only do integers and not any decimals

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,913

    Re: Rand and Randbetween Functions to generate percentages

    Try:

    =IF(RANDBETWEEN(1,4)=1,RANDBETWEEN(26000,74700),RANDBETWEEN(89000,99000))/100000

  5. #5
    Registered User
    Join Date
    02-27-2018
    Location
    Michigan, United States
    MS-Off Ver
    2016 Excel
    Posts
    19

    Re: Rand and Randbetween Functions to generate percentages

    i think that worked
    Thank You!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Generate subsequent RANDBETWEEN value in ascending order
    By tristanlau in forum Excel General
    Replies: 6
    Last Post: 08-26-2017, 02:19 PM
  2. [SOLVED] RAND or RANDBETWEEN Help I think
    By Staff0rd in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-17-2017, 11:04 AM
  3. randbetween to generate barcodes
    By maghabo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-05-2016, 06:56 AM
  4. Replies: 10
    Last Post: 07-03-2015, 04:29 PM
  5. Using Randbetween to generate specific amounts of numbers
    By ryanch69 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-31-2014, 08:41 AM
  6. [SOLVED] Help with RAND( ) or RANDBETWEEN ( )
    By DublinMeUp in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-23-2013, 06:35 PM
  7. Rand Num using percentages
    By Loss1574 in forum Excel General
    Replies: 0
    Last Post: 07-02-2008, 09:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1