CountIfS Inter-Column Date Evaluation

ChasD

New Member
Joined
Jul 22, 2010
Messages
2
Hi - Have poured through much content on COUNTIFS but can't seem to find a solution to my variant...

I have several columns that record dates for various events:

A B C
1/1/2010 2/1/2010 3/1/2010

I want to count B if it is non-blank AND if C is blank AND if A<=B

Formula thus far:
=COUNTIFS(B1:B50,"<>",C1:C50,"",A1:A50, "<="&??????)

????? - is what I can't figure out. I have tried:

A1:A50, "<="&B1:B50 (results in 0 count)
A1:A50 "<="&B1 (works, but only evaluates B1... i.e. not relative as it goes down the range of B1:B50)

HELP! What am I corn-fusing here...?
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

AlphaFrog

MrExcel MVP
Joined
Sep 2, 2009
Messages
16,450
Try this...
=SUMPRODUCT((B1:B50<>"")*(C1:C50="")*(A1:A50<=B1:B50))

Or this...
=SUMPRODUCT(NOT(ISBLANK(B1:B50))*ISBLANK(C1:C50)*(A1:A50<=B1:B50))
 
Last edited:
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,732
Messages
5,833,377
Members
430,206
Latest member
Sami Gaid

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