How to get all the combination of integers as sum a pariticular integer

Hello everyone,
I want to get all possible combinations of integers whose sum is 13.

Suppose i have numbers- 2,3,5,6,8,10
Also i have a target number- 13.
I want to get all possible combinations of numbers whose sum is 13
like 2,5,6,
2,3,8,
5,8
How to do this in UiPath?

Regards,
Saamir

Hey Sam,

have a look at this VBA code
http://www.tushar-mehta.com/excel/templates/match_values/index.html

regards
Aditya