Sign in to follow this  
Followers 0
aommaster

Combinations of sums of numbers in an array

1 post in this topic

hey guys!

Okay... I have an array that will include a set of numbers that looks like this:

Posted Image

Firstly, I want autoit to ignore the first column ( I don't think it's that hard to do, just start a counter variable at 1 instead of 0.

But what I want autoit to do is to go through each column separately (so it treats every column as a separate set of data) and see that if the numbers in the column can be added in a certain way to reach a target number which is different for each column.

Can this be done using a looping technique, or do I have to end up using something like 7 nested loops?

Also, the numbers are appended from experimental data, so sometimes, columns may/may not have different amounts of data in them.

Thanks guys

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0