+ Reply to Thread
Results 1 to 4 of 4

Random Numbers with Dates and a specific percent criteria

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

    Random Numbers with Dates and a specific percent criteria

    How to display birth dates between Jan. 1 1994 and Dec. 31,1994 in a way that there is a 65% chance that someone was born in 1994?

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Random Numbers with Dates and a specific percent criteria

    Surely if you're displaying DOBs in 1994 then there's a 100% chance all of them are in 1994?

    Could you explain a little more what your need here?

    BSB

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

    Re: Random Numbers with Dates and a specific percent criteria

    Sorry I meant Jan. 1 1992*

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

    Re: Random Numbers with Dates and a specific percent criteria

    Try this ...

    =IF(RANDBETWEEN(1,100)<=65,RANDBETWEEN(DATE(2014,1,1),DATE(2014,12,31)),RANDBETWEEN(DATE(2012,1,1),DATE(2013,12,31)))
    Last edited by Phuocam; 03-03-2018 at 07:31 PM.

+ 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. Generating Random numbers that will sum to 1 specific value?
    By zr11 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-24-2019, 10:08 AM
  2. Generating Random numbers that will sum to 1 specific value?
    By shaikhrulez in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-01-2016, 09:36 AM
  3. Random numbers to specific total
    By juriemagic in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2015, 02:20 AM
  4. [SOLVED] Generate Random numbers to specific value.
    By Vincent2433 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-25-2014, 09:29 AM
  5. Looking for a simple list of random numbers (very specific criteria)
    By johnnywharris in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 05-09-2013, 11:58 AM
  6. Percent on Leave During Specific Range of Dates
    By raymond87 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-04-2012, 02:24 AM
  7. [SOLVED] How do I generate random numbers using dates in excel?
    By celia w in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-20-2005, 04:06 PM

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