Vba to find combinations of numbers that equal a given number

FGaxha

Board Regular
Joined
Jan 10, 2023
Messages
230
Office Version
  1. 365
Platform
  1. Windows
Hi,
Pls some help:
I need a vba code for: find combination of numbers that equal a given number?
It can be a formula too!
Thanks
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Could you just use an IF formula? Like =(IF(A1+B1+C1=10,"Yes","No"))
 
Upvote 0
I tried it but it keeps running for an hr and no solution. Are 54 rows and value given nr 365342.33
 
Upvote 0
Did you try the VBA options further down that page?
 
Upvote 0
There are many threads on this topic. See:
 
Upvote 0

Forum statistics

Threads
1,225,741
Messages
6,186,761
Members
453,370
Latest member
juliewar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top