+ Reply to Thread
Results 1 to 5 of 5

Countif using 2 sheets

Hybrid View

Novice22 Countif using 2 sheets 09-17-2012, 06:41 AM
Kevin UK Re: Countif using 2 sheets 09-17-2012, 06:50 AM
Fotis1991 Re: Countif using 2 sheets 09-17-2012, 07:05 AM
Novice22 Re: Countif using 2 sheets 09-17-2012, 08:38 AM
Cutter Re: Countif using 2 sheets 09-18-2012, 10:27 AM
  1. #1
    Registered User
    Join Date
    09-17-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    2

    Countif using 2 sheets

    I have created a spreadsheet in which one page is meant to be a dashboard of sorts. The problem I am experiencing is that I want to identify an element in one column and count the items matching it in another. For example:

    Column A

    January
    January
    February
    February


    Column B

    Yes
    No
    Yes
    no

    I want a formula that will identify Febraury in column a and count the yes' in comun B. so The answer should be: 1. Hope this makes sense and that someone can assist me.

    Thanks

  2. #2
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Countif using 2 sheets

    Hi Novice22

    How about!

    If your data is in A1:A4 in B1:

    Formula: copy to clipboard
    =IF(COUNTIF($A$1:A1,A1)=1,"Yes","No")


    and drag down.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Countif using 2 sheets

    Maybe.

    =COUNTIFS(A1:A10,"February",B1:B10,"YES")
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    09-17-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    2

    Smile Re: Countif using 2 sheets

    Thanks for the countifs formula it worked

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Countif using 2 sheets

    @ Novice22

    Welcome to the forum.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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