Using Count Formula

Dirkelton

New Member
Joined
Feb 16, 2011
Messages
7
I'm desperatly after help!!

I'm trying to count the number of rows based on criteria in 2 different columns. For Example If column A = 1, and Column B <=48 then count number of Rows.

I've been playing with sumproduct and count, Countif etc but getting nowhere :mad:
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Welcome to the board...

Sumproduct is the way to go..

Try

=SUMPRODUCT(--(A1:A100=1),--(B1:B100<=48))
 
Upvote 0
Just extened the formula,

Code:
=SUMPRODUCT(--(A1:A100=1),--(B1:B100>=48),--(B1:B100<=60))
<!-- / message --><!-- sig -->
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,749
Members
452,940
Latest member
rootytrip

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