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

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,224,827
Messages
6,181,197
Members
453,022
Latest member
RobertV1609

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