Avoid counting blank cells!

martinsimart

New Member
Joined
Mar 23, 2018
Messages
9
Hi all

I have a spreadsheet with dates entered against issues we have at work

I wanted a count of the number of issues that are 90 days older than today's date

this code: =SUMPRODUCT(--(C1:C10<TODAY())) counts number of dates but also counts blank cells

so my challenge is to avoid counting blank cells and how to include the 90 days citeria

I have tried numerous ways but no joy, should I be using COUNTIF?

thanks in advance
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
It looks like your formula is getting cut off. That often happens when it mistakes > or < signs for HTML code.
Try posting your formula again, but put spaces on BOTH side of any > or < signs that you have.
 
Upvote 0
thanks everyone

mabalo76, your formula worked a treat. In hindsight I can see the logic of using COUNTIF rather than SUMPRODUCT (in this case)

cheers
 
Upvote 0

Forum statistics

Threads
1,214,913
Messages
6,122,207
Members
449,074
Latest member
cancansova

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