Nel post *Norman* ha scritto:
I want to shuffle a pack of playing cards using excel
You can use these formulas from Ivano Chiappa, a very smart guy on
microsoft.public.it.office.excel newsgroup:
In D1 put:
=INT(RAND()*(last-first+1))+first
while in D2 put as an arry formula (i.e. with Ctrl + Shift + Enter instead
of Enter):
=INDEX(LARGE(IF(NOT(ISERROR(MATCH(ROW(INDIRECT("A"&first&":A"&last)),$D$1

1,0))),0,ROW(INDIRECT("A"&first&":A"&last))),ROW(INDIRECT("A1:A"&last-first))),INT(RAND()*(last-first+1-ROW(A1))))
then you have to copy down till D52 (or D54 if you have also 2 jokers)
where first mean the lowst number, in your case is 1, while last mean your
highest value, so 52 or 54 if you have also 2 jokers
--
Hope I helped you.
Thanks in advance for your feedback.
Ciao
Franz Verga from Italy