Link to home
Start Free TrialLog in
Avatar of Jase Alexander
Jase AlexanderFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Excel Counting number of aged orders using date

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
Avatar of Norie
Norie

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

=COUNTIF(L:L, "<="&R3)
Avatar of Jase Alexander

ASKER

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
I placed Norie's formula in Q5 and the result was 17.
ASKER CERTIFIED SOLUTION
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you Martin it appears I may have made this mistake
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)