+ Reply to Thread
Results 1 to 7 of 7

Formula to get last date of every employee

  1. #1
    Forum Contributor
    Join Date
    02-24-2015
    Location
    Egypt
    MS-Off Ver
    Office 365 ProPlus
    Posts
    769

    Formula to get last date of every employee

    Dear all,
    I want to create a formula to get last date of every employee from the other sheet "Data"
    Find the attachment
    Waiting your feedback
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Formula to get last date of every employee

    Try this in B2 and copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note this is an array formula and needs to be confirmed with Ctrl+Shft+Ent rather than just Enter,

    BSB

  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,054

    Re: Formula to get last date of every employee

    Non-array formula:

    =LOOKUP(10^10,INDEX(Data!$C$2:$C$14,MATCH(Report!A2,Data!$B$2:$B$14,0)):INDEX(Data!$I$2:$I$14,MATCH(Report!A2,Data!$B$2:$B$14,0)))
    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

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to get last date of every employee

    Here is a non-array version for excel (2010, 2013, 2016)
    Enter in B2 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Formula to get last date of every employee

    Another non-array formula. Works across versions.

    =MAX(INDEX((Data!$B$2:$B$14=A2)*(INDEX(Data!$C$2:$I$14,MATCH(A2,Data!$B$2:$B$14,0),)),0))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  6. #6
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,294

    Re: Formula to get last date of every employee

    Another option
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    02-24-2015
    Location
    Egypt
    MS-Off Ver
    Office 365 ProPlus
    Posts
    769
    Quote Originally Posted by BadlySpelledBuoy View Post
    Try this in B2 and copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    BSB
    Well done sir
    Thank you all gentlemen for your replies and great solutions

+ 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. formula to calculate no:of leaves taken by employee till date
    By aswathyradhika in forum Excel General
    Replies: 1
    Last Post: 07-26-2017, 03:21 AM
  2. Replies: 4
    Last Post: 06-28-2017, 12:54 AM
  3. [SOLVED] Formula to extract activities of each employee on each date
    By prkhan56 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-30-2016, 08:33 AM
  4. Replies: 13
    Last Post: 04-26-2015, 02:18 PM
  5. Replies: 9
    Last Post: 11-20-2014, 04:27 PM
  6. Formula to calculate # of hours based on date range and employee ID code
    By r0man3 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 09-02-2014, 08:04 PM
  7. Formula to extract Employee work schedule report from "date of hiring list"
    By ravikiran in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-13-2010, 05:56 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