CountIfS Inter-Column Date Evaluation

ChasD

New Member
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

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
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:

ChasD

New Member
Worked great AlphaFrog! Thanks.

Replies
0
Views
212
Replies
5
Views
752
Replies
3
Views
606
Replies
4
Views
314
Replies
4
Views
393

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.

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.

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

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