Choose 3 numbers from list

bebo021999

Well-known Member
Joined
Jul 14, 2011
Messages
2,541
Office Version
  1. 2016
Deal all,
I have a list from A1:A5, for ex: 10;15;40;47;50;51
I'd like to pick 3 numbers from list, that total is 100.
The result should be: 10;40;50 in B2,C2,D2
Is there any fomular can do that? (No code)
Thanks in advance.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Hello,

You could add checkboxes (forms control )next to the numbers in the list.

Then right click each checkbox and choose format control. Find linked cell and choose an unsused column to link to in the same row.

This will place a true or false in the column depending on if the checkbox is ticked.

Now use a formula like

=SUMIF(D1:D4,"True",A1:A4)

Where D1:D4 is the column of true and false, and A1:A4 is the range of numbers.
 
Upvote 0

Forum statistics

Threads
1,224,265
Messages
6,177,538
Members
452,782
Latest member
ZCapitao

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