+ Reply to Thread
Results 1 to 8 of 8

Find start date and end date

  1. #1
    Registered User
    Join Date
    07-08-2012
    Location
    chennai
    MS-Off Ver
    Excel 2019
    Posts
    54

    Find start date and end date

    Dear Team,

    I have a transactional data which contains emp id , name and month.

    I want to find the first entry month and last entry month using the formula.

    For example i have a Transactional data from A1 : C20 cell. if i put the Emp code 1001 start month is Jan21 and Aug 21 is End month. Emp Code 1002 start month is Jan 21 and Nov 21 End month.

    I am attaching the sample file with

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    23,969

    Re: Find start date and end date

    Your profile indicates that you are using XL, however, the file is using format that was originated with XL2007. What version of Excel are you using. Please update your profile as solutions are based upon the version you are employing.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    23,969

    Re: Find start date and end date

    Power Query Solution:

    Please Login or Register  to view this content.
    Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").

    It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.

    - Follow this link to learn how to install Power Query in Excel 2010 / 2013.

    - Follow this link for an introduction to Power Query functionality.

    - Follow this link for a video which demonstrates how to use Power Query code provided.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    07-08-2012
    Location
    chennai
    MS-Off Ver
    Excel 2019
    Posts
    54

    Re: Find start date and end date

    Thanks alan. Can you have any excel based formula to find this start and end date? instead of using power query

  5. #5
    Forum Contributor
    Join Date
    03-17-2010
    Location
    karachi
    MS-Off Ver
    Excel 2003
    Posts
    113

    Re: Find start date and end date

    This for start date =aggregate(15,6,if($a$2:$a$20=f11,$c$2:$c$20),1)
    this for end date
    =aggregate(14,6,if($a$2:$a$20=$f11,$c$2:$c$20),1)

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,130

    Re: Find start date and end date

    In G6 copied down, use
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and change the formula to maxifs for col H

  7. #7
    Forum Contributor John Vergara's Avatar
    Join Date
    01-17-2022
    Location
    Colombia
    MS-Off Ver
    365
    Posts
    200

    Re: Find start date and end date

    Hi, to all!

    I leave two options in the file.

    First Option: Formulation, included unique extract of Emp Id into the solution.
    Second Option: Pivot Table.

    Check file. Blessings!
    Attached Files Attached Files

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,414

    Re: Find start date and end date

    Additionally you can combine AGGREGATE functions {15,14} to calculate both Start and End month then output them with INDEX. Ie this in G6 copied down and across. Then format for date.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by FlameRetired; 01-20-2022 at 05:48 PM.
    Dave

+ 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. Find Most Recent Start Date in a List of Date Ranges
    By vsg in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-15-2020, 04:58 PM
  2. [SOLVED] Find start date and End date in collumn related to a word
    By Mr.Castle in forum Excel General
    Replies: 16
    Last Post: 09-18-2018, 10:33 PM
  3. [SOLVED] Find the start date from end date and date range and exclude weekends
    By tantcu in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-28-2017, 04:43 AM
  4. Replies: 31
    Last Post: 09-21-2014, 07:50 PM
  5. Replies: 2
    Last Post: 12-09-2013, 06:21 AM
  6. [SOLVED] Find date using start date and number of network days
    By v!ctor in forum Excel General
    Replies: 4
    Last Post: 07-06-2012, 05:27 PM
  7. Replies: 2
    Last Post: 01-04-2012, 09:15 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