Results 1 to 9 of 9

Formula To Count Absences Based on Criteria & Matching Dates

Threaded View

  1. #1
    Registered User
    Join Date
    02-28-2020
    Location
    New York
    MS-Off Ver
    2016
    Posts
    8

    Formula To Count Absences Based on Criteria & Matching Dates

    Hi forum,

    Thanks in advance for any assistance. I don't believe this is a particularly difficult formula, but i hit a roadblock.

    Basically, I am trying to use a formula to calculate the # of times a person is absent from class based upon hours type and code (2 conditions).

    If hours type (Column C) begins with anything BUT "R" it should count as an absence. You will notice 3 absences in Column C (LA, LS, OS) on 2/1, 2/4 and 2/10.

    Next, i am trying to also count an absence for any hours type that begins with "R" and the Code (Column D) begins with "T". There are 2 of these occurrences on 2/2 and 2/8.

    So i am manually counting 5 absences, but you will notice on 2/4/2021, Excel is counting the 2 occurrences (RF with TS code, and the LS) on this date twice resulting in 6 absences instead of 5.

    I believe im neglecting some check of dates for duplications or matches/not matches etc.? I am really struggling with referencing the dates and creating rules based on the date as well.

    Any resolution would be appreciated!
    Attached Files Attached Files
    Last edited by LOK25; 04-22-2021 at 07:54 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 10-03-2019, 09:24 AM
  2. [SOLVED] Please Help, need a formula to count cells based on dates in 2 other cells matching.
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-18-2017, 03:20 AM
  3. [SOLVED] Count data based on matching dates in 2 separate cells.
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-16-2017, 12:11 PM
  4. Macro to copy a range of dates based on matching criteria
    By christopherb in forum Excel General
    Replies: 0
    Last Post: 06-10-2011, 05:39 AM
  5. Count if between two dates and matching criteria
    By RichST in forum Excel General
    Replies: 2
    Last Post: 10-12-2010, 07:55 AM
  6. Trying to count the number of temps based on dates and matching containers
    By Kfeisse1 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-20-2010, 01:48 PM
  7. Count unique values based on matching criteria
    By gromitw in forum Excel General
    Replies: 9
    Last Post: 01-10-2007, 08:59 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