Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
PAL PAL is offline
external usenet poster
 
Posts: 200
Default Random Function

Im trying to create an algorithm that, upon entering Persons ID and date,
will notify me if the individual has been randomly selected to receive a
gift. Each person should have a 20% chance of being selected.

A2 Cell: Any number
B2 Cell: Any date
C2 Cell: =IF(A2,IF(B2,E2,""),"")
E2 Cell: =IF(F2<=0.2,"Yes","No")
F2 Cell: =RAND( )

Problem: The RAND function updates with each entry, modifying the previously
entered records. Is there a way to prevent this from happening?




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random function - weighted Periz28 Excel Worksheet Functions 8 August 5th 06 01:19 AM
Random numbers function momma Excel Worksheet Functions 8 May 9th 06 12:22 PM
random number function junecol Excel Worksheet Functions 1 September 29th 05 02:08 PM
VBA "Rnd" Function: Truly Random? TheRobsterUK Excel Discussion (Misc queries) 2 September 27th 05 04:50 AM
How can I use the random function? petevang Excel Worksheet Functions 1 July 11th 05 03:50 PM


All times are GMT +1. The time now is 09:30 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"