+ Reply to Thread
Results 1 to 3 of 3

Does countifs support imbedded formula's ? "Example included"

  1. #1
    Registered User
    Join Date
    08-09-2009
    Location
    Khartoum, Sudan
    MS-Off Ver
    Excel 2007
    Posts
    5

    Question Does countifs support imbedded formula's ? "Example included"

    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.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Does countifs support imbedded formula's ? "Example included"

    You still need to include the > and < operators, eg:

    =COUNTIFS(PLATES,CS2,LDATE,">"&EOMONTH(NOW(),-1),LDATE,"<"&EOMONTH(NOW(),0)+1,ORIGIN,"PS")

  3. #3
    Registered User
    Join Date
    08-09-2009
    Location
    Khartoum, Sudan
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Does countifs support imbedded formula's ? "Example included"

    Thanks a million , its working perfectly

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1