Five Values that Equal a Sum Value

ststern45

Well-known Member
Joined
Sep 17, 2005
Messages
985
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hi Everyone,
Happy New Year 2025

I have a set of 30 values below:
There are duplicate values in the list below. Example: 1, 2, 3 etc.
The minimum value total is 5 (1,1,1,1,1) and the maximum equal 73 (10,11,12,16,24)
So the range is from 5 to 73.

I would like to calculate how many 5 number values would equal sum of 5, 6, 7, .... 73

Thank you!!

1
1
1
1
1
2
2
2
2
3
3
3
3
4
4
5
5
5
5
5
6
6
7
8
8
10
11
12
16
24
 
Thank you Stephen for the reply and the code.
I will run this tomorrow morning.
Thank you again.
BTW how long did it require to create the sets from your post?
 
Upvote 0

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,225,741
Messages
6,186,761
Members
453,370
Latest member
juliewar

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