Excel Counting number of aged orders using date

Jase Alexander
Jase Alexander used Ask the Experts™
on
Hi Experts

Hope you can help

I have a report that is generated from an online portal and gives us details of aged orders that may exists in the system. We monitor any aged orders purely by the number of them still active s a performance indicator

Ive been trying to use the dates in the Order Date column (Column L) against a formula in cell Q5, that basically returns the number of orders equal to and older than the date in cell R3

Ive tried using =SUMPRODUCT(L:L<R3) as well as COUNTIF both of which either return a 0 or incorrect result

WOuld you have any suggestions as to return the correct figure? For the example Ive attached the correct redult should be 19 as they are all older or equal to 3rd December (in R3)

Any help would be greatly appreciated

Thanks
J
EE-Example.csv
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
NorieAnalyst Assistant

Commented:
Assuming you have valid date values in column L and R3, try this.

=COUNTIF(L:L, "<="&R3)
Jase AlexanderCompliance Manager

Author

Commented:
Hi Norie

Thank you for the repsonse

When I carry out your suggestion, I get the result of 4 instead of 17 which it should be

Any ideas?

J
Martin LissOlder than dirt
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
I placed Norie's formula in Q5 and the result was 17.
Should you be charging more for IT Services?

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Older than dirt
Most Valuable Expert 2017
Distinguished Expert 2018
Commented:
Maybe you modified his formula to be =COUNTIF(L:L, ">="&R3) rather than =COUNTIF(L:L, "<="&R3) which is what he posted. The modified version returns 4.
Jase AlexanderCompliance Manager

Author

Commented:
Thank you Martin it appears I may have made this mistake
Martin LissOlder than dirt
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
You’re welcome and I’m glad I was able to help.

If you expand the “Full Biography” section of my profile you’ll find links to some articles I’ve written that may interest you.

Marty - Microsoft MVP 2009 to 2017
              Experts Exchange Most Valuable Expert (MVE) 2015, 2017
              Experts Exchange Top Expert Visual Basic Classic 2012 to 2017
              Experts Exchange Top Expert VBA (current)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial