ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Combinations & Perms (https://www.excelbanter.com/excel-discussion-misc-queries/147802-combinations-perms.html)

GK

Combinations & Perms
 
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

Toppers

Combinations & Perms
 
See here for help on macros:

http://www.mvps.org/dmcritchie/excel/getstarted.htm


"GK" wrote:

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


GK

Combinations & Perms
 
I tried what I believe I was supposed to do but I get an error. It says
overflow.

"Toppers" wrote:

See here for help on macros:

http://www.mvps.org/dmcritchie/excel/getstarted.htm


"GK" wrote:

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


Toppers

Combinations & Perms
 
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?

"GK" wrote:

I tried what I believe I was supposed to do but I get an error. It says
overflow.

"Toppers" wrote:

See here for help on macros:

http://www.mvps.org/dmcritchie/excel/getstarted.htm


"GK" wrote:

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


GK

Combinations & Perms
 
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

"Toppers" wrote:

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?

"GK" wrote:

I tried what I believe I was supposed to do but I get an error. It says
overflow.

"Toppers" wrote:

See here for help on macros:

http://www.mvps.org/dmcritchie/excel/getstarted.htm


"GK" wrote:

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


Toppers

Combinations & Perms
 
No problem here with your data.

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

"GK" wrote:

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

"Toppers" wrote:

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?

"GK" wrote:

I tried what I believe I was supposed to do but I get an error. It says
overflow.

"Toppers" wrote:

See here for help on macros:

http://www.mvps.org/dmcritchie/excel/getstarted.htm


"GK" wrote:

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



All times are GMT +1. The time now is 10:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com