Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Pick Ref# randomly on an average

Hi Bernd,

Suggest to dovetail discussions into the OP's thread in
..worksheet.functions,
http://tinyurl.com/ab6t2z

I've just posted my last follow-through there with a way to address the OP's
non-dups requirement.

You might wish to re-post your comments/alternative offers to the OP over
there.

.. Your example does not ensure this ..

Agreed, and I did mention this explicitly in my response detailing the
modeling steps to the OP.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,000 Files:370 Subscribers:66
xdemechanik
---
"Bernd P" wrote in message
...
Hello Max,

1. I think the OP asks for exactly the 4/12 of ABC hits in the output
not only 4/12 likehood. So you would need something like the D'Hondt
election distribution approach to define the number of ABC hits in the
output (easy for 50% ABC and 50% XYZ on a selection of 100 but what if
you have 99? You can only take 49 ABC's and 49 XYZ's and randomly
distribute the remaining one, I guess). The initial unique list and
frequencies you can get with my UDF lfreq, for example.

2. The OP obviously does not want to come up with dupe ref# at the
end. Your example does not ensure this. I suggest to take my UDF
UniqRandInt for this.

Regards,
Bernd

www.sulprobil.com



Reply
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
Pick Ref# randomly on an average Kashyap Excel Worksheet Functions 18 March 2nd 09 12:24 PM
randomly pick a number from a set of predetermined numbers Ram Excel Discussion (Misc queries) 6 September 11th 07 09:49 PM
Can Excel randomly pick one winner out of 100 contest entries? Bernard Excel Discussion (Misc queries) 4 March 30th 07 04:28 PM
Array Formula to Pick Average SludgeQuake Excel Discussion (Misc queries) 3 January 11th 06 12:59 AM
Making pick list conditional on selection from previous pick list Stewart Excel Discussion (Misc queries) 1 June 27th 05 11:30 AM


All times are GMT +1. The time now is 09:26 AM.

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

About Us

"It's about Microsoft Excel"