+ Reply to Thread
Results 1 to 10 of 10

problem with countifs

  1. #1
    Forum Contributor
    Join Date
    03-09-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    235

    problem with countifs

    hi guys,

    Can you please help me on how to get their correct counts.

    i have attached dummy file for reference.
    thanks
    Attached Files Attached Files

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: problem with countifs

    Hi,

    Could you re-post your attachment with more than just two examples in? It will be a bit easier to understand what you require that way.

    Regards
    Click * below if this answer helped

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

  3. #3
    Forum Contributor
    Join Date
    11-11-2012
    Location
    Muscat, Oman
    MS-Off Ver
    Office 365
    Posts
    521

    Re: problem with countifs

    Hello Albert,
    Wondering why cant we use Counta for column A unless we have a Director in the list without any KPI.
    Best Regards/VKS

  4. #4
    Forum Contributor
    Join Date
    03-09-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    235

    Re: problem with countifs

    please attached file. sorry for the confusion.
    Attached Files Attached Files

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: problem with countifs

    Are you counting when neither column has a blank? If so, then 3 is correct, but Im not sure how you get 4?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Forum Contributor
    Join Date
    03-09-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    235

    Re: problem with countifs

    sorry for the confusion, the correct is 4 because on Col A under director column A3 has values on col B3 to B4 but B3 has blank so that is why it is not counted.

  7. #7
    Forum Contributor
    Join Date
    03-09-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    235

    Re: problem with countifs

    Rules:
    1. if any on column B values is not Blank then Column A Director Column will count as per director.

    In this case, col B3 to B4 is counted as 1 because any on B3 to B4 has value on it, will count by director.

    *The countA for column A is 5 but since A9 for B9 is blank so it is not counted.

  8. #8
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: problem with countifs

    this is with a helper column. with formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    check attcahment.

    dum1.xlsx
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  9. #9
    Forum Contributor
    Join Date
    03-09-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    235

    Re: problem with countifs

    thank you so much Vlady

    this is great!

  10. #10
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: problem with countifs

    Nice!. Glad to help.
    Regards,
    Kabayan

+ 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. [SOLVED] VBA: CountIfs function problem
    By Bezzie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-12-2013, 08:09 AM
  2. [SOLVED] Problem with COUNTIFS
    By jrlafrance in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-29-2013, 02:59 PM
  3. Problem with using countifs
    By alb2p in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-14-2013, 01:36 PM
  4. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  5. COUNTIFS problem
    By javajoemorgan in forum Excel General
    Replies: 8
    Last Post: 10-15-2009, 11:28 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