Sum bottom n numbers greater than or equal to k

raikks

Board Regular
Joined
Feb 23, 2020
Messages
53
Office Version
  1. 2019
Platform
  1. Windows
Hi. Can you help me with a formula that sums bottom 4 numbers that are greater than or equal to 2?
Ex - if i have the following numbers in column A (A1:A9), sum of bottom 4 numbers should be 8.66 (2.05+2.07+2.17+2.37):

2.17
1.60
3.90
2.37
1.28
4.80
3.30
2.05
2.07

Thanks in advance.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
How about
Excel Formula:
=SUM(AGGREGATE(15,6,A1:A9/(A1:A9>=2),{1,2,3,4}))
may need array entry.
 
Upvote 0
Great, works fine - thanks a lot!
How did you pick 15 and 6?
 
Upvote 0
15 tells the function to act like the small function & the 6 tells it to ignore errors.
 
Upvote 0
The beauty of Excel formulas - never ceases to amaze me.
Thanks again for your support and for the link - cheers!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,067
Messages
6,122,949
Members
449,095
Latest member
nmaske

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