+ Reply to Thread
Results 1 to 4 of 4

Help with countifs

  1. #1
    Registered User
    Join Date
    12-04-2012
    Location
    USA
    MS-Off Ver
    Excel 2011 Mac
    Posts
    6

    Help with countifs

    I have this formula so far
    =COUNTIF((IF(B1:B5,COUNTIFS(B1:B5,"A",C1:C5,"apple"),COUNTIFS(A1:A5,"A",C1:C5,"apple"))),">=1")

    for given table:
    A B C
    1 A apple
    2 B apple
    3 B A apple
    4 B apple
    5 A B apple

    I expect the answer to be 2 but it gives me a #Value error.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,459

    Re: Help with countifs

    What are you trying to achieve?

  3. #3
    Registered User
    Join Date
    12-04-2012
    Location
    USA
    MS-Off Ver
    Excel 2011 Mac
    Posts
    6

    Re: Help with countifs

    Say column A is "Owner" and column B is "Stolen by" which makes row 3 "B owns apple but stolen by A".
    Trying to see how many apples A and B end up with. In this particular formula, we're looking for A's apple which should be 2.

    Thanks!

  4. #4
    Registered User
    Join Date
    12-04-2012
    Location
    USA
    MS-Off Ver
    Excel 2011 Mac
    Posts
    6

    Re: Help with countifs

    Say column A is "Owner" and column B is "Stolen by" which makes row 3 "B owns apple but stolen by A".
    Trying to see how many apples A and B end up with. In this particular formula, we're looking for A's apple which should be 2.

    Thanks!

+ 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