Onslaught17
New Member
- Joined
- Sep 29, 2015
- Messages
- 3
Hello,
I am trying to create some type of formula or VBA script that will look at a series of given numbers and identify which numbers if summed together are closest to another given number. For example if I am given the series of numbers shown below, which numbers if summed together are closest to 10 (10 is also a given number). The answer would somehow identify both fives in the series of numbers below.
1
1
1
5
5
Any help on this is greatly appreciated. Let me know if I need to go into further detail.
I am trying to create some type of formula or VBA script that will look at a series of given numbers and identify which numbers if summed together are closest to another given number. For example if I am given the series of numbers shown below, which numbers if summed together are closest to 10 (10 is also a given number). The answer would somehow identify both fives in the series of numbers below.
1
1
1
5
5
Any help on this is greatly appreciated. Let me know if I need to go into further detail.