I don't know if this is even possible. I would like to add a number in a range to every other number in the range and see if the sum is equal to a predetermined number.
For example:
Range a1:a5
a1=1
a2=2
a3=3
a4=4
a5=5
I would like to add a1 to a2 then a1 to a3 then a1 to a4 then a1 to a5 then a2 to a3 then a2 to a4, etc.
Then check if their sum is equal to 5. In this case a2+a3=5
and a1+a4=5.
This is a obviously very simplified example. As you can see with a large enough range of data the number of calclations turns enormous.
My limited code writing ability has not been able to come up with a solution. If someone has any ideas I would love to hear them.
Thanks
For example:
Range a1:a5
a1=1
a2=2
a3=3
a4=4
a5=5
I would like to add a1 to a2 then a1 to a3 then a1 to a4 then a1 to a5 then a2 to a3 then a2 to a4, etc.
Then check if their sum is equal to 5. In this case a2+a3=5
and a1+a4=5.
This is a obviously very simplified example. As you can see with a large enough range of data the number of calclations turns enormous.
My limited code writing ability has not been able to come up with a solution. If someone has any ideas I would love to hear them.
Thanks