+ Reply to Thread
Results 1 to 4 of 4

To find count of leave occasion

  1. #1
    Registered User
    Join Date
    10-03-2022
    Location
    Dubai, UAE
    MS-Off Ver
    2019
    Posts
    3

    Lightbulb To find count of leave occasion

    Hi Friends,

    I have many employees data who takes leave continuously like 3 days. Then after some days again 1 day, then after few days continously 2 days. So the total occasion he took leave is 3. But number of leave days is 6. Here I want to get occasion of leave taken that is 3. So please help me to find that.

    Excel sheet attached. I want to get that occasion count in each employee row. Please help me.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: To find count of leave occasion

    =SUMPRODUCT((B2:W2=1)*(C2:X2=""))

    copied down.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: To find count of leave occasion

    Sorry! It should be:

    =SUMPRODUCT((B2:X2=1)*(C2:Y2=""))
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-03-2022
    Location
    Dubai, UAE
    MS-Off Ver
    2019
    Posts
    3

    Re: To find count of leave occasion

    Thanks a lot.

+ 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. On the odd occasion Cells overlap
    By oldanddecrepid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2021, 03:01 PM
  2. Leave calendar to count number of days of leave left
    By Fads in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-25-2021, 02:40 AM
  3. [SOLVED] Leave calendar to count the number of days of leave each staff has left
    By Fads in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-03-2021, 02:39 AM
  4. formula to count the number occasion
    By sab17 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-21-2019, 07:37 AM
  5. Count of consecutive dates as single occasion per patient
    By mallen91693 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-04-2014, 01:32 AM
  6. count Special Leave max 10 days only
    By Dahlia in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-20-2014, 02:37 AM
  7. Counting Consecutive Dates As A Single Occasion
    By SamuelT in forum Excel General
    Replies: 4
    Last Post: 02-16-2011, 06:23 AM

Tags for this Thread

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