+ Reply to Thread
Results 1 to 2 of 2

Randbetween- certain condtions??

  1. #1
    Registered User
    Join Date
    10-22-2015
    Location
    Michigan, USA
    MS-Off Ver
    2010
    Posts
    4

    Unhappy Randbetween- certain condtions??

    I am struggling so much right now. I understand how to do the randbetween function and manipulate it in several ways- but i am stuck at this problem! the question is....

    "Create a list of 25 random percentages such that one-fourth of them are between 26% and 74.7% and the rest are between 89% and 99% "

    how would I go about doing randbetween under these specific conditons...?

    the only formula i could come up with is =((RANDBETWEEN(26,74.7))*(3*(RANDBETWEEN(89,99))))/100

    this returns a value in the 1000's which i know is not right and i know this is because I am multiplying the numbers but I have no idea what to do! Can anyone please help me?? Thank you so much

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Randbetween- certain condtions??

    Here's what I'd do, I assume I've read this correctly

    25 random percentages, 1/4 of them are between 26%-74.7% and rest 89%-99%

    in A1
    =IF(ROW()<=25/4,RANDBETWEEN(260,747),RANDBETWEEN(890,990))/10
    and copy down to A25

    What I don't understand is given 25 percentages how you can get 1/4 of them (and that must mean EXACTLY a quarter) to be between a certain range since 25 /4 is not an integer. Maybe I've misinterpreted what it means.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

+ 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. Replies: 10
    Last Post: 07-03-2015, 04:29 PM
  2. Average when condtions are met
    By Cupragsw in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 12-10-2013, 11:35 AM
  3. Lookup with two condtions
    By dmills27 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-21-2009, 12:02 PM
  4. Average with two condtions
    By Isacael in forum Excel General
    Replies: 4
    Last Post: 03-10-2009, 06:49 AM
  5. IF Formula with 2 condtions in it...
    By jur78 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-04-2008, 03:52 AM
  6. [SOLVED] checking two condtions
    By [email protected] in forum Excel General
    Replies: 5
    Last Post: 03-22-2006, 11:25 AM
  7. [SOLVED] SUM IF 2 CONDTIONS
    By ellebelle in forum Excel General
    Replies: 5
    Last Post: 01-04-2006, 03:25 PM

Tags for this Thread

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