Easy BETWEEN question

dragonmouse

Board Regular
Joined
May 14, 2008
Messages
92
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​
 

Some videos you may like

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,387
Office Version
  1. 365
Platform
  1. Windows
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")
 
Solution

Watch MrExcel Video

Forum statistics

Threads
1,126,945
Messages
5,621,763
Members
415,854
Latest member
Tutu123

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