Combinations & Perms

G

GK

I know this question has been asked and answered many times over. I just
need a little help understanding the finer points. OK, Here goes.

I am attempting to find a way to calculate all of the possibilities of a
group/numbers givin certain restrictions. I have found Myrna Larson's
formula originally posted in July of 2000. One of the pages is code is listed
on is here...http://www.ozgrid.com/forum/showthread.php?t=28321

Where I really need help is in the set up. Where do I put this code to get
it to run? I am using Office 2007/Excel. Please help.

Thanks,
GK
 
T

Toppers

Overflow usually occurs when you have a number which is greater than is
possible in a variable type e.g. very large number in an integer (rather than
LONG) variable.

I have used this code frequently and haven't had any problems.

What is your input data?
 
G

GK

C
3
1
2
3
4
5

That is exactly my input data. I was attempting to do a test to see if I
was putting in the code correctly.

PLease help!!!!

Thanks, GK
 
T

Toppers

No problem here with your data.

I assume you haven't changed the code AND it was copied correctly?
 

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