+ Reply to Thread
Results 1 to 5 of 5

Fill End Date with Start date of the next Matching Entry

Hybrid View

Whraith Fill End Date with Start date... 11-19-2013, 07:18 PM
benishiryo Re: Fill End Date with Start... 11-19-2013, 08:33 PM
Whraith Re: Fill End Date with Start... 11-19-2013, 09:14 PM
benishiryo Re: Fill End Date with Start... 11-19-2013, 11:05 PM
Whraith Re: Fill End Date with Start... 11-20-2013, 12:06 AM
  1. #1
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Fill End Date with Start date of the next Matching Entry

    welcome to the forum, Whraith. so a combination of John & France would only appear twice & you want the end date of the 1st instance to be filled with the start date of the 2nd instance? try this in E2:
    =IF(COUNTIFS(A$2:A2,A2,B$2:B2,B2)=1,LOOKUP(2,1/(($A$2:$A$10=A2)*($B$2:$B$10=B2)),$D$2:$D$10),"")

    format to date

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  2. #2
    Registered User
    Join Date
    11-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Fill End Date with Start date of the next Matching Entry

    Thank you for the welcome and fast response.

    Quote Originally Posted by benishiryo View Post
    so a combination of John & France would only appear twice & you want the end date of the 1st instance to be filled with the start date of the 2nd instance?
    John & France can appear multiple times I only put two in the example I should have included more. Essentially after every job is finished and a new one is entered and I would need it to fill in the date (end date of the older one) with the start date of the new entry.

    The formula you gave only updates the first instance of the Match of John & France.

    Name Region Start End
    John France 11/1/2013 11/11/2013
    John France 11/11/2013 11/15/2013

    John England 11/6/2013 11/7/2013
    John England 11/7/2013
    Frank Germany 11/7/2013
    John France 11/15/2013
    Last edited by Whraith; 11-19-2013 at 09:54 PM.

+ 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. [SOLVED] Fill Cell Color based on start & end date.
    By hecgroups in forum Excel General
    Replies: 2
    Last Post: 10-04-2013, 10:14 AM
  2. Fill Range based on Start/End Date
    By Regenbui in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-20-2013, 08:02 AM
  3. Replies: 1
    Last Post: 10-02-2012, 02:42 PM
  4. Auto-fill adjacent cells based on start/stop date?
    By jeffreyray in forum Excel General
    Replies: 3
    Last Post: 10-03-2011, 06:49 PM
  5. Using VBA to fill col with dates based on start and end date
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-22-2011, 11:58 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