SUMIFS and GREATER THAN OR EQUAL TO

AK_Excel_13

New Member
Joined
Jul 11, 2014
Messages
30
Column A contains my footage and Column B contains rating value.
I want to write a sumifs function that will tell me the amount of feet that have a rating value greater than 500 but less than or equal to 600.
How do I do write the formula?

Here is what I have so far, but it doesn't work.
=sumifs(A2:A5000,B2:B5000,>500 or <=600)

Thanks!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Weazel

Well-known Member
Joined
Dec 24, 2011
Messages
3,155
glad you got it working
 
Upvote 0

fazeez01

New Member
Joined
May 3, 2018
Messages
1
=SUMIFS(A2:A6,B2:B6,">500",B2:B6,"<=600")

instead of the 500, can a cell reference be inserted into the formula? I want to reference a cell where I'll be changing the value.

Thanks
 
Upvote 0

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
7,245
Office Version
  1. 2016
Platform
  1. Windows
Hi,

Yes, sample below, change the >= and/or <= as you require:


Book1
ABCDE
1100550MinMaxResult
22003005006002000
3300200
4400800
5500750
660010
7700300
8800900
9900500
101000520
Sheet29
Cell Formulas
RangeFormula
E2=SUMIFS(A1:A10,B1:B10,">="&C2,B1:B10,"<="&D2)
 
Upvote 0

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
=SUMIFS(A2:A6,B2:B6,">500",B2:B6,"<=600")

instead of the 500, can a cell reference be inserted into the formula? I want to reference a cell where I'll be changing the value.

Thanks

If E1 houses >500 and F1 <=600, then:

=SUMIFS($A$2:$A$6,$B$2:$B$6,E1,$B$2:$B$6,F1)

If E1 houses jus 500 and F1 600, then:

=SUMIFS($A$2:$A$6,$B$2:$B$6,">"&E1,$B$2:$B$6,"<="&F1)

 
Last edited:
Upvote 0

Forum statistics

Threads
1,191,183
Messages
5,985,170
Members
439,944
Latest member
Vangelis74

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
Top