+ Reply to Thread
Results 1 to 5 of 5

Count Instances off Absenses

  1. #1
    Registered User
    Join Date
    01-14-2025
    Location
    Fife
    MS-Off Ver
    365
    Posts
    2

    Count Instances off Absenses

    I need a formula to count instances off Absence over the last year.
    I.e. 1 day off is 1 absence, 4 days is 1 instance, 20 days is 1 instance etc etc.
    Been trying to do it with the Weekday function but the problem is that only a 4 day week is worked so the Friday does not join up instances over subsequent weeks.
    The dates are in Column E and the formulas I have tried and failed with are in K2

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    3,032

    Re: Count Instances off Absenses

    I added an additional column to count the instances and summed it.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-14-2025
    Location
    Fife
    MS-Off Ver
    365
    Posts
    2

    Re: Count Instances off Absenses

    Thank you for your reply.

    The young boy at work managed to crack it but went about it another way and didnt use any off the functions in excel that are related to days or adding in extra columns.

    =SUM(IFERROR(IF((E2:E50-E1:E49)>4,1,0),0))+1

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,856

    Re: Count Instances off Absenses

    Thanks for letting us know.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    3,032

    Re: Count Instances off Absenses

    Nice. Thanks for sharing.

+ 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. Count Instances
    By gishena in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2016, 03:59 AM
  2. Count of instances
    By Walter18 in forum Excel General
    Replies: 3
    Last Post: 04-02-2016, 04:56 PM
  3. [SOLVED] Count # of Instances the Name Appear then the # of Day between the occurences
    By bhenlee in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-21-2015, 05:34 PM
  4. count instances within row
    By vicktown in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-10-2009, 03:42 AM
  5. Count number of instances of an act. #
    By walke2jd in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-03-2007, 11:34 AM
  6. Count unique instances
    By meweaver27 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-28-2007, 09:57 AM
  7. [SOLVED] Count Instances
    By Ken in forum Excel General
    Replies: 2
    Last Post: 04-01-2005, 08:06 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