Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
I am working on a homework assignment and am experiencing challenges. This worked =IF(COUNTIF(D2:D7,D1),RANDBETWEEN(1,52),D1) but this is not =IF(COUNTIF(D1D3:D7,D2),RANDBETWEEN(1,52),D1) nor is this =IF(COUNTIF(D1,D3:D7,D2),RANDBETWEEN(1,52),D1) nor is this =IF(COUNTIF(D1/D3:D7,D2),RANDBETWEEN(1,52),D1) I am attempting to have it check for repeat numbers. I am generating 7 random numbers between 1-52. I want to check and make sure that none of them are repeating. If there is a repeat, I want to do a new randbetween. Does anyone know how to generate random numbers without replacement? Yes it is a poker game. Fun but challenging. Thank you for your time and assistance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
multi functions | Excel Worksheet Functions | |||
Nested Functions Help | Excel Worksheet Functions | |||
Multi-Conditional Functions | Excel Worksheet Functions | |||
too many nested IF functions | Excel Worksheet Functions | |||
Multi functions | Excel Worksheet Functions |