Remove 2 Lowest Numbers from a Sum of Numbers in Non-Consecutive Cells

thebrtnder

New Member
Joined
Apr 21, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I cannot figure a way to remove the two lowest numbers from this sum of cells
For the lowest number I use the MIN function like this:
SUM(B6,B10,B14,B18,B22,B26,B30,B34)-MIN(B6,B10,B14,B18,B22,B26,B30,B34)
I dont believe the SMALL function works since the group of cells is not an array, so I am lost...
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Welcome to the forum.
Try:
=SUM(B6,B10,B14,B18,B22,B26,B30,B34)-SUM(SMALL((B6,B10,B14,B18,B22,B26,B30,B34),{1,2}))
 
Upvote 0
Solution
Welcome to the forum.
Try:
=SUM(B6,B10,B14,B18,B22,B26,B30,B34)-SUM(SMALL((B6,B10,B14,B18,B22,B26,B30,B34),{1,2}))
Worked perfectly - thanks so much!!! So apparently an array can be created by putting the calls into parentheses - good to know!!! That was what I really couldn’t figure out… thanks again!
 
Upvote 0
Worked perfectly - thanks so much!!!
Welcome to the MrExcel board!
The marked solution has been changed accordingly. In your future questions, please mark the post as the solution that actually answered your question, instead of your feedback message as it will help future readers. No further action is required for this thread.

BTW, if you have all the new functions available in your 365 version, another option might be as shown in E6 below.

23 04 21.xlsm
BCDE
631313
75
86
90
102
116
125
133
141
151
164
177
182
195
206
214
222
233
245
256
262
275
284
296
302
310
321
333
342
Sum less 2
Cell Formulas
RangeFormula
D6D6=SUM(B6,B10,B14,B18,B22,B26,B30,B34)-SUM(SMALL((B6,B10,B14,B18,B22,B26,B30,B34),{1,2}))
E6E6=SUM(DROP(SORT(CHOOSEROWS(B6:B34,SEQUENCE(8,,,4))),2))
 
Upvote 0

Forum statistics

Threads
1,215,708
Messages
6,126,363
Members
449,311
Latest member
accessbob

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