+ Reply to Thread
Results 1 to 3 of 3

IF function combination of COUNTIF function

  1. #1
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    IF function combination of COUNTIF function

    Hi there,

    I would like to seek help about my workbook file problem. here are the possible condition,kindly check my workbook.

    1. IF the Doc Number are same and on the VAT TREATMENT column are all PASS then it will put on Comments column PASS.

    2. IF the Doc Number are same and on the VAT TREATMENT column is all WARN then it will put on Comments column FAIL.

    3.IF the Doc Number are same and on the VAT TREATMENT column one of it(Doc Number) is WARN,then it will put on Comments column FOR INVESTIGATION.

    I just need Comments column to populate using macro VBA, I just put manually the "Should Be" answer. Somehow I don't know if I should use "IF AND" function with combination of COUNTIF. Kindly help me with this. Thanks a lot!
    Attached Files Attached Files
    Last edited by emina002; 09-20-2012 at 01:53 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: IF function combination of COUNTIF function

    hi emina002, how about this?
    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: IF function combination of COUNTIF function

    Hi @benishiryo,your function works great!. A lot of 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