+ Reply to Thread
Results 1 to 3 of 3

Countifs with table references not working

Hybrid View

  1. #1
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Countifs with table references not working

    Attached document should show the problem, but column BN has:

    =COUNTIF(Table1[[#This Row],[10/31]:[1/2]],"x")+COUNTIFS(Table1[[#This Row],[10/31]:[1/2]],"a",Table1[[#This Row],[10/31]:[1/2]],"p")/2
    which ignores cells that has "a" or "p" in it. I believe it should be counting them.

    Changing the code to:
    =COUNTIF(Table1[[#This Row],[10/31]:[1/2]],"x")+COUNTIFS(B2:BM2,"a",B2:BM2,"p")/2
    Works as expected.

    Theories?

    Pauley
    Attached Files Attached Files
    Last edited by Pauleyb; 10-28-2011 at 09:51 AM.

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Countifs with table references not working

    Actually, the second one doesn't work. I'm missing something obvious with my countifs syntax.

    Investigating...

    Pauley

  3. #3
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Countifs with table references not working

    Never mind. Using Countifs incorrectly.

    Pauley

+ 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