combinations in excel

michaelsmith559

Well-known Member
Joined
Oct 6, 2013
Messages
881
Office Version
  1. 2013
  2. 2007
How would I calculate and list in excel the number of combinations that equal a given average? For example, how many ways can each of these values be used together to equal $75?
Values: $25, $30, $40, $50, $75, $100.
So obviously, $50 & $100 used 1 time each average $75.
How can I show how many combinations in total equal $75 & how can I list how many times the values are used together to equal that average? Thanks.
 
Is this the kind of result you are expecting:
Book1
ABC
12575 Average: 75
23050-100 Average: 75
34050-75-100 Average: 75
450
575
6100
Sheet1
If 25 can occur 6548 times, 30 occur 2856 times, 40 occur 3045 times, 50 occur 2938 times, 75 occur 569 times, and 100 occur 606 times; how many ways can these values combine to average out to 75?
Or does the way you did it account for all combinations that would come to that average?

I misunderstood the problem you presented. Sorry 'bout dat.
The more I think about it you may be right. Only 3 ways average out to 75. You could get 75, 50 & 100, or 100 & 50. I'll check and see if this works.
 
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,215,219
Messages
6,123,691
Members
449,117
Latest member
Aaagu

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