Help with greater than, but less than countif /sumif formula

robertisforgiven

New Member
Joined
Jul 7, 2019
Messages
2
Hello,

I am really having trouble figuring out how to do this and would greatly appreciate any help.

I have a column of data and I need to analyze ranges of numbers like this example:

10.2
5.1
2.6
11.6
5.7

I want to make be able to calculate for example (and eventually convert to charts)
*Total sum of all items that are less than 8, but greater than 3
*Total count of same

I get as far as calculating the "less than 8" part but cannot seem to discover how to have both qualifiers apply to one cell in one formula.

Thanks!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hi & welcome to MrExcel.
how about

Book1
HI
810.210.8
95.1
102.6
1111.6
125.7
Sheet1
Cell Formulas
RangeFormula
I8=SUMIFS(H8:H12,H8:H12,"<8",H8:H12,">3")


And look at COUNTIFS for the 2nd part
 
Upvote 0
Thanks! My misunderstanding in SUMIFS was that the range appears twice in the beginning of the formula. MUCH APPRECIATED for the insanely fast reply!
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,705
Messages
6,173,985
Members
452,540
Latest member
haasro02

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