Thats the formula :-
=COUNTIFS(PLATES,CS2,LDATE,">40025",LDATE,"<40057",ORIGIN,"PS")
What i want is to replace ">40025" and "<40057" which between them exists the month of august of 2009 with other two formulas that will constantly give me values that will also have the month we are in inbetween them, i used these two:-
1- =EOMONTH(NOW(),-1)
2- =EOMONTH(NOW(),0)+1
this was my final formula:-
=COUNTIFS(PLATES,CS2,LDATE,EOMONTH(NOW(),-1),LDATE,EOMONTH(NOW(),0)+1,ORIGIN,"PS")
but its not working?!!
whats wrong?!!
Last edited by alderdeiry; 08-19-2009 at 03:07 AM.
You still need to include the > and < operators, eg:
=COUNTIFS(PLATES,CS2,LDATE,">"&EOMONTH(NOW(),-1),LDATE,"<"&EOMONTH(NOW(),0)+1,ORIGIN,"PS")
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Thanks a million , its working perfectly
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks