counting problem

jrussell

New Member
Joined
Apr 4, 2002
Messages
9
I have a series of numbers in cell B1 thru B26. Is there a way to count the numbers in this range that are >1 and <11 and have this number show up in cell B27?
The count if function will only work with one criteria.
Any suggestions?

Thanks in advance.

Jerry
 
With criteria in D1 and D2

=COUNTIF(B1:B26,">"&D1)-COUNTIF(B1:B26,">"&D2)
 
Upvote 0

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
On 2002-04-15 20:16, Dave Patton wrote:


With criteria in D1 and D2

=COUNTIF(B1:B26,">"&D1)-COUNTIF(B1:B26,">"&D2)

Hi Dave: Looks Good!
And to go a step further

=COUNTIF(B1:B26,E1)-COUNTIF(B1:B26,E2)

if E1 contained the criterion ...<11
and E2 contained ...<=1

_________________
Yogi Anand
Edit: Deleted reference to inactive web site from signature line
This message was edited by Yogi Anand on 2003-01-19 18:24
 
Upvote 0

Forum statistics

Threads
1,215,227
Messages
6,123,745
Members
449,116
Latest member
alexlomt

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