+ Reply to Thread
Results 1 to 6 of 6

Countif

Hybrid View

  1. #1
    Registered User
    Join Date
    06-28-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Countif

    boyntoni,

    use this formula....

    =SUM(IF(A1:A7=1,IF(C1:C7=1,1,0),0))

    You need to press an hold CTRL and Shift when you press Return to get the {} mark's around the formula so it looks like the below.

    {=SUM(IF(A1:A7=1,IF(C1:C7=1,1,0),0))}

    You can change the ranges in red to suit (both need to cover the same amount of rows) and you can change the criteria in blue as well e.g. look for 2's

    The first IF will check to see if column A contains a 1
    The second IF will check to see if column C contains a 1
    If they both meet the criteria it will count as 1, this will be applied and totaled for the ranges given.

    Sxhall

  2. #2
    Registered User
    Join Date
    06-28-2010
    Location
    Boston
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Countif

    Thanks so much for the help.

    Just out of curiosity, why are the { } necessary?

    Also, any idea on the window within the window?

+ 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