counts between two values

smithrd6

Board Regular
Joined
Dec 13, 2005
Messages
150
I have this forumula for capturing counts which are less than a number:

{=SUM((tbl42Ques!D2:D200="Released to Manufacturing")*(tbl42Ques!A2:A200<16))}

I am wanting to capture counts which are between two numbers, for instance, <16 and >10
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Try this (my example uses simplified cell references - adapt as required)

Code:
=sumproduct(d2:d200,--(a2:a200<16),--(a2:a200>10))
 
Upvote 0
Perhaps something like this.

=SUMPRODUCT(--(tbl42Ques!D2:D200="Released to Manufacturing"), --(tbl42Ques!A2:A200>10), --(tbl42Ques!A2:A200<16))
 
Upvote 0
There's a difference between these two formulas.

Mine is summing up numeric values in column D, for rows where the entry in column A matches the criteria.

Norie's version (I think) is counting those values (which looks like it may be closer to what was requested in the OP).
 
Upvote 0
Gerald

Good spot - think I missed the SUM part, though the OP did mention a count.:)
 
Upvote 0

Forum statistics

Threads
1,213,489
Messages
6,113,953
Members
448,535
Latest member
alrossman

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