+ Reply to Thread
Results 1 to 5 of 5

{ } not working in countifs

  1. #1
    Registered User
    Join Date
    12-24-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    39

    { } not working in countifs

    Hi All,

    =COUNTIFS(Sheet1!D:D,Sheet2!$C$4,Sheet1!AB:AB,B7,Sheet1!AA:AA,{"Validation Pending","In-Progress"})

    in the above formula, it works if dont use {}. i did Countifs+countifs to get the value.

    someone told me that {} also works....
    please help

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: { } not working in countifs

    you need to sum, the result:

    =sum(countif(...))
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    12-24-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: { } not working in countifs

    Sum worked earlier...but I want to understand why { } is nt working..I have seen on this forum that it works when we give criteria in { }

  4. #4
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: { } not working in countifs

    When you use an array of criteria, an array of results is returned, therefore you must SUM the result as shg said. In case it was unclear:

    =SUM(COUNTIFS(Sheet1!D:D,Sheet2!$C$4,Sheet1!AB:AB,B7,Sheet1!AA:AA,{"Validation Pending","In-Progress"}))
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  5. #5
    Registered User
    Join Date
    12-24-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: { } not working in countifs

    Got It....Thanks a lot....

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. countifs and date not working right.
    By kztdat in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 11-22-2013, 06:31 PM
  2. Countifs FOrmula Not working
    By cartica in forum Excel General
    Replies: 1
    Last Post: 10-30-2013, 01:34 PM
  3. [SOLVED] countifs working on extended ranges and different sheets not working
    By etaf in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-18-2013, 02:23 PM
  4. COUNTIFS not working
    By nosenga in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-13-2011, 04:38 AM
  5. COUNTIFS function not working
    By d_mack in forum Excel General
    Replies: 3
    Last Post: 08-26-2010, 02:25 AM

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