Thanks Harmeet for the suggestion. But I believe, Fact function is used for FACTORIAL ( which we had studied in Maths) 5! =
5 X 4 X 3 X 2 X 1 = 120 I believe if we need to add only two numbers and that too from 1 to 19 then below is the correct scenario for that:- 1 19 20 2 18 20 3 17 20 4 16 20 5 15 20 6 14 20 7 13 20 8 12 20 9 11 20 10 10 20 11 9 20 12 8 20 13 7 20 14 6 20 15 5 20 16 4 20 17 3 20 18 2 20 19 1 20 20 0 20 By formulation and by using VBA, we can automate above scenarios to handle any number, like above is for 20. -- Thanks & Regards, DILIP KUMAR PANDEY MBA-HR,B.Com(Hons),BCA Mobile: +91 9810929744 dilipan...@gmail.com dilipan...@yahoo.com New Delhi - 62, India On Thu, Apr 15, 2010 at 8:13 PM, Harmeet Singh <harmeet.hew...@gmail.com>wrote: > For that use FACT formula........... > =fact(5) > > > Thanks & Regards, > > Harmeet Singh > > Sent via BlackBerry Wireless > > > On Thu, Apr 15, 2010 at 4:55 PM, Dilip Pandey <dilipan...@gmail.com>wrote: > >> Dear Michael, >> >> So do you want only two numbers to sum up - at a time >> 1+19 >> >> or you want scenarios like below:- >> 5+5+5+5 -> means more than two digits. ? >> >> -- >> Thanks & Regards, >> >> DILIP KUMAR PANDEY >> MBA-HR,B.Com(Hons),BCA >> Mobile: +91 9810929744 >> dilipan...@gmail.com >> dilipan...@yahoo.com >> New Delhi - 62, India >> >> >> On Thu, Apr 15, 2010 at 12:51 AM, MD18358 <michael.e.dray...@citi.com>wrote: >> >>> Hi All: >>> >>> I don't want the "number of Permutations" I want to see the >>> permutations to a calculated sum. >>> >>> For example: How many different ways can I get 20 by looking at the >>> number 1 through 19. >>> My answer should look like: >>> >>> 1+19 >>> 2+18 >>> 3+17 >>> 4+16 >>> ...etc >>> >>> Any ideas??? >>> >>> As always, Thanks >>> c >>> >>> -- >>> >>> >>> ---------------------------------------------------------------------------------- >>> Some important links for excel users: >>> 1. Follow us on TWITTER for tips tricks and links : >>> http://twitter.com/exceldailytip >>> 2. Join our Facebook Group @ >>> http://www.facebook.com/group.php?gid=287779555678 >>> 3. Excel tutorials at http://www.excel-macros.blogspot.com >>> 4. Learn VBA Macros at http://www.quickvba.blogspot.com >>> 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com >>> >>> To post to this group, send email to excel-macros@googlegroups.com >>> >>> <><><><><><><><><><><><><><><><><><><><><><> >>> HELP US GROW !! >>> >>> We reach over 6,800 subscribers worldwide and receive many nice notes >>> about the learning and support from the group.Let friends and co-workers >>> know they can subscribe to group at >>> http://groups.google.com/group/excel-macros/subscribe >>> >> >> >> >> -- >> >> ---------------------------------------------------------------------------------- >> Some important links for excel users: >> 1. Follow us on TWITTER for tips tricks and links : >> http://twitter.com/exceldailytip >> 2. Join our Facebook Group @ >> http://www.facebook.com/group.php?gid=287779555678 >> 3. Excel tutorials at http://www.excel-macros.blogspot.com >> 4. Learn VBA Macros at http://www.quickvba.blogspot.com >> 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com >> >> To post to this group, send email to excel-macros@googlegroups.com >> >> <><><><><><><><><><><><><><><><><><><><><><> >> HELP US GROW !! >> >> We reach over 6,800 subscribers worldwide and receive many nice notes >> about the learning and support from the group.Let friends and co-workers >> know they can subscribe to group at >> http://groups.google.com/group/excel-macros/subscribe >> > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > HELP US GROW !! > > We reach over 6,800 subscribers worldwide and receive many nice notes about > the learning and support from the group.Let friends and co-workers know they > can subscribe to group at > http://groups.google.com/group/excel-macros/subscribe > -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 6,800 subscribers worldwide and receive many nice notes about the learning and support from the group.Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe To unsubscribe, reply using "remove me" as the subject.