Easy BETWEEN question

dragonmouse

Board Regular
Joined
May 14, 2008
Messages
129
Office Version
  1. 2016
Platform
  1. Windows
I have a spreadsheet with several cost values. I want to total the number for each month for values that fall within a particular range

ie:
October
$0 = 1 item
$1-100 = 3 items
$101-1500 = 2 items
>$1501 and up =2 items

I'm looking thru a range and trying to find values BETWEEN two numbers that are greater than 1 and less than 100 and a second one that gives returns values between 101-1500. I'm typing something wrong.
=COUNTIFS($A$33:$A$200, "OCT", $K$33:$K$200, "Air Force",$L$33:$L$200, "1><100")
=COUNTIFS($A$33:$A$200, "OCT", $K$33:$K$200, "Air Force",$L$33:$L$200, "101>1500")

countss any value that is "0". This works fine.
=COUNTIFS($A$33:$A$200, "OCT", $K$33:$K$200, "Air Force",$L$33:$L$200, "0") also

counts any values over 1501 works fine.
=COUNTIFS($A$33:$A$200, "OCT", $K$33:$K$200, "Air Force",$L$33:$L$200, ">1501")

So I'm obviously doing something dumb with the BETWEEN.


1​
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
This is greater than zero and less than or equal to 100:

=COUNTIFS($A$33:$A$200, "OCT", $K$33:$K$200, "Air Force",$L$33:$L$200, ">0",$L$33:$L$200, "<=100")
 
Upvote 0
Solution

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