Counting two criteria - IF figure= and if date is older than 30 days.

Rhys Lewis

New Member
Joined
Sep 27, 2017
Messages
3
Hi all,

I am trying to create a formula to count if cells D6:100 = 0 and if the date in cells B6:100 are older than 30 days, but I cant seem to figure this out.

I am using the following formula but this is just giving me "VALUE".

=SUM(IF(D6:D100="0",IF(B6:B100=">"&TODAY()-30,1)))

I have also tried -

=COUNTIF(D6:D100="0",B6:B100=">"&TODAY()-30,1)))

Could anyone assist please!

Many thanks!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,215,410
Messages
6,124,756
Members
449,187
Latest member
hermansoa

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