• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Employee Live or Not Live

Amol lad

New Member
Hi,

My Name is Amol.

I want to Find out the weather the employee was live in a particular month or not using their Date of Joining and Date of Leaving. Can anyone help me with the formula to use in excel. I am attaching the excel sheet for you reference.
 

Attachments

  • Live or Not Live.xlsx
    101.2 KB · Views: 7
Amol lad
Sample tries to show 'FALSE' if not ...
... I copied formula only top part of Your sheet.
Hi @vletm

Thank You for your reply...

I have done some changes in the formula. I have replaced "" with 1 and False with 0. (Live = 1, Not Live = 0)

i really like the way you derived this complex condition but the error is coming in some scenarios.

The scenarios are as below:

EMP IDNAMEDOJDOLApr-19May-19Jun-19Jul-19Aug-19Sep-19Oct-19Nov-19Dec-19Jan-20Feb-20Mar-20
14415Palash Khetrapal08-Apr-1904-Jul-19011000000000
14420Anindita Ray08-Apr-1923-Apr-19000000000000

Explanation:-

1.Employee code 14415 joined on 08-Apr-19 and it means he was live in Apr-19 month but its coming 0 instead of coming 1
2.Employee code 14420 was joined on 08-Apr-19 and left on 23-Apr-2019 i.e. he joined and resigned in same month so he was live in Apr-19 but its coming 0 instead of 1.

I am attaching the File for your ready reference. Can you please help on this.
 

Attachments

  • Live or Not Live (2).xlsx
    164.4 KB · Views: 2
Amol lad
I missed that live in a particular month, that solved full months ...
check this version.

( with those two columns and one row would no need to have same part of formulas many times. )
 

Attachments

  • Live or Not Live.xlsx
    142.8 KB · Views: 6
hi @Junaid Thanks for the reply.

i have used your formula but What about the Employees who are resigned. Its giving me the error there.
what do u mean resigned .. and i could't find any error, Can u share screenshot with required result and error which is showing there.W
 
Back
Top