Excel VBA: identify all possible combinations -


i have 2 accounting records try match. accounting record 1 contains following (eg.) data:

a=100, b=150 , c=210. 

accounting record 2 contains following (eg.) data:

x1=55, x2=45, x3=90, x4=60, x5=80, x6=70, x7=20 , x8=40. 

mention should made data in both accounting records can both negative , positive.

all 3 transactions presented within accounting record 1 sum of @ least 1 transactions within accounting record 2. no doubling transactions considered.

specifically, need excel vba code me following results:

a=x1+x2; b=x3+x4; ,  c=x5+x6+x7+x8. 

since b can equal x3+x7+x8, need code loop through possible solutions until transactions within accounting record 2 allocated.

any tips or recommended steps take?

many thanks!


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -