Results 1 to 8 of 8

Countif value matches, but ignore/don't count if value in adjacent column matches value

Threaded View

  1. #1
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    408

    Countif value matches, but ignore/don't count if value in adjacent column matches value

    I am using the following formula to track employee?s attendance occurrences, plus a few other items.

    =IF(A15="","",IF(B15>$D$2,"N/A",IF(COUNTIFS('Data Entry'!$B$3:$B$99989,A15,'Data Entry'!$E$3:$E$99989,$D$1,'Data Entry'!$C$3:$C$99989,"Perfect Redeemed"),"PERFECT REDEEMED",IF(COUNTIFS('Data Entry'!$B$3:$B$99987,$A15,'Data Entry'!$E$3:$E$99987,$D$1),"PERFECT USED",IF(COUNTIFS('Data Entry'!$B$3:$B$1048576,A15,'Data Entry'!$A$3:$A$1048576,">="&$D$2,'Data Entry'!$A$3:$A$1048576,"<="&$D$3)=0,"PERFECT ATTENDANCE",COUNTIFS('Data Entry'!$B$3:$B$1048576,A15,'Data Entry'!$A$3:$A$1048576,">="&$D$2,'Data Entry'!$A$3:$A$1048576,"<="&$D$3))))))

    The first part of the formula is counting occurrences that the employee?s name shows up on the data entry worksheet.

    =IF(A15="","",IF(B15>$D$2,"N/A",IF(COUNTIFS('Data Entry'!$B$3:$B$99989,A15,

    What I am looking to do, is ignore/don?t count if the corresponding column ?Data Entry?!$C$3:$C$100000 contains the value of ?Other (See Comments)? or ?Positive Entry?.

    The results would count all other instances where that employee name showed up when those values were not in column C.

    This is pretty complicated, I had assistance making the original formula on here. Attached is a sample file.

    I appreciate any help on this one.

    Thank you,
    Nick
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. COUNTIF Department Matches and Date Range-30 matches?
    By Steven8294 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-06-2022, 06:53 PM
  2. [SOLVED] Using COUNTIF to count partial matches
    By kyber in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-25-2021, 06:09 PM
  3. Countif Help - If matches two critera what is the total count of this.
    By jwallace90 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 04-27-2017, 04:41 PM
  4. Replies: 1
    Last Post: 07-20-2015, 10:58 AM
  5. [SOLVED] Count Quantity if adjacent column matches criteria
    By Simon.xlsx in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-05-2015, 07:44 AM
  6. [SOLVED] Count partial text matches in adjacent column
    By joshkvt in forum Excel General
    Replies: 6
    Last Post: 08-11-2014, 12:01 PM
  7. Replies: 4
    Last Post: 07-18-2012, 02:34 PM

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