Count if within range

secondtry

New Member
Joined
Oct 10, 2006
Messages
32
Hi all, I can't seem to figure out how to manipulate the count if function to achieve the right output.

I have a column (say column A) that lists different numbers from 0 to 100 (let's say 50 rows for this example). What I was hoping to do was return the number of rows that fall between 1 and 10, 11 and 20, 21 and 30......91 and 100 in one cell formula.

Any suggestions?

Thanks in advance.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
I wonder if I could take it a step further and have the formula ignore those instances where column B has an "X"?

For example:
A B
5
8 X
21
15
30
7

COUNTIF column A where >1 and <10 AND where no "X"
 
Upvote 0
I wonder if I could take it a step further and have the formula ignore those instances where column B has an "X"?

For example:
A B
5
8 X
21
15
30
7

COUNTIF column A where >1 and <10 AND where no "X"
Do you mean: >=1 and <=10 ?

Are there any zeros or negative numbers in the range?

What version of Excel are you using?
 
Last edited:
Upvote 0
Do you mean: >=1 and <=10 ?

Are there any zeros or negative numbers in the range?

What version of Excel are you using?

Thank you for clarifying T. Valko, I did mean >=1 and <=10. To clarify for anyone who might check out this post there were no negative numbers in the range but there were blanks. I am using Excel 2003.
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,239
Members
452,898
Latest member
Capolavoro009

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