+ Reply to Thread
Results 1 to 6 of 6

Count ifs problem

  1. #1
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    400

    Count ifs problem

    Hi All,

    Can someone help me with count ifs?

    You can see in column A is the customer
    Column B - is the company code

    Column E & F are the extracted data

    Column I is the output.

    So here's the condtion:

    1. If the customer exist in one company code (based on column E & F), then it should be blank.
    2. If the customer exist in 2 company code (based on column E & F), then it should be "Co.Code Delete"

    Can anyone help?
    Im using this formula but it doesnt seem work.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Count ifs problem

    =IF(COUNTIFS(E:E,A2,F:F,B2),"Co.Code Delete","")
    Please Login or Register  to view this content.
    TRY THIS
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Count ifs problem

    Hi,

    Your explanation is unclear, at least to me. Please add a few more example rows that show different permutations, manually add the results and the clearly explain why you arrive at the results you do.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    400

    Re: Count ifs problem

    Hi Richard,

    Thanks for your reply.

    Please see below for the detailed explanation.

    I have customer number (column A) and company code (Column B) which will be removed in the system im working on.
    Inorder to determine if it will be deleted or not, here's the condition.

    1. If customer exist only in one company code given (column b) and the same as the extracted data (column E and F) then the results should be blank.



    2. If the customer exist in 2 company codes and there's no "X" sign in Column G (meaning its still active), then the results should be "Co.Code Delete".

    3. If the customer exist in multiple company code but is only active in the given company code (column b) then its should be blank.

    I added some conditions just to make it clearer..
    Thanks in advance..
    Attached Files Attached Files

  5. #5
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    400

    Re: Count ifs problem

    Hi nflsales,

    Thanks for your reply..
    The formula you gave "Co.Code Delete" as the result for all

  6. #6
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Count ifs problem

    Try

    =IF(COUNTIFS(E:E,A2,G:G,"<>x")>1,"Co code. Delete","")

+ 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. vlookup problem and count problem
    By thy00123 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-05-2009, 04:31 AM
  2. count problem
    By KL in forum Excel Formulas & Functions
    Replies: 30
    Last Post: 09-06-2005, 06:05 PM
  3. count problem
    By vipa2000 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  4. count problem
    By vipa2000 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  5. [SOLVED] count problem
    By vipa2000 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 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