Powerball spreadsheet. Trying to find 5 numbers (from 1 to 50) that add up to 160

tonyjacobsen

New Member
Joined
Sep 21, 2013
Messages
2
I have downloaded an xls spreadsheet with the past powerball winning numbers. I want to use this data set and find out every combination of numbers that add up to a certain total, for example 160.

I do not know how to go about doing this, without writing huge, nested if then statements and even then I am not sure how to go about it without ending up with a huge spreadsheet that I cannot make any sense of..

In addition, I want to use this spreadsheet to pick say 7 numbers, then have the spreadsheet give me every possible combination of 5 numbers using the 7 numbers. The 7 number data set could then be increased to say 8 if my office can raise enough money each week in order to purchase enough tickets.

This spreadsheet is not intended to pick the correct and future winning numbers, but I am just trying to reduce the odds from 1-10,000 trillion to say 1-10,000. I am more likely to die from a lightning strike going to purchase a ticket than I am winning the Powerball, but writing a spreadsheet would make me feel better.

I will share in any winnings with whoever helps. Seriously.

I am using Excel Mac 2008 at home and Excel 2007 at work.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
VoG,

Thank you very much. I will try to use the information in the link(s) you provided. To be honest, I am dang glad I didn't waste too much time on it without looking for some help. Holly beans, it looks like a huge undertaking.
Thanks again!
Tony
 
Upvote 0

Forum statistics

Threads
1,223,634
Messages
6,173,474
Members
452,516
Latest member
archcalx

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top