How do I generate random numbers using dates in excel?

N

N Harkawat

=DATE(2005,1,1)+IF(RAND()>0.5,RAND()*-1000,RAND()*1000)
will generate random dates 1000 days plus and 1000 days minus 1/1/2005

Ofcourse format it as date
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top