+ Reply to Thread
Results 1 to 6 of 6

Date Fill formula

  1. #1
    Registered User
    Join Date
    08-19-2010
    Location
    Manchester, england
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2208 Build 16.0.15601.20526) 32-bit
    Posts
    56

    Date Fill formula

    Good afternoon help.

    I require help with the attached please.

    Excel version is Microsoft 365 subscription.

    Can somebody write me a formula that populates the date (1st of the month), in columns J & K, where the start date is the first time a 1.0 appears in the respective row and the end date is the last time a 1.0 is inserted. hope that makes sense.

    Start date then populates in Column J

    End Date populates in Column K

    Dave
    Attached Files Attached Files
    Last edited by Moggzy; 05-15-2023 at 10:40 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Date Fill formula

    Start Date: =INDEX($L$1:$AX$1,MATCH(1,$L2:$AX2,0))

    End Date: =LOOKUP(2,1/($L2:$AX2<>0),$L$1:$AX$1)
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Date Fill formula

    If you want the end of the month, change the second formula to this:

    =EOMONTH(LOOKUP(2,1/($L2:$AX2<>0),$L$1:$AX$1),0)

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

    Re: Date Fill formula

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

  5. #5
    Registered User
    Join Date
    08-19-2010
    Location
    Manchester, england
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2208 Build 16.0.15601.20526) 32-bit
    Posts
    56

    Re: Date Fill formula

    Thanks for the help. - thats great

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Date Fill formula

    Glad to have helped.

    If you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ 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 Now() formula if system date is greater then range value
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-22-2017, 04:45 AM
  2. [SOLVED] need vba to fill formula and input box value into formula overwrite date
    By johnmacpro in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-15-2016, 12:55 AM
  3. [SOLVED] Formula to fill month end dates from start date to end date
    By Barieq in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-03-2016, 11:51 AM
  4. [SOLVED] Add 1 to Date - Formula Fill Down
    By ksayet in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-29-2015, 01:17 PM
  5. Formula to fill cells based on the date in another cell
    By PowerPlayer23 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2012, 02:26 PM
  6. formula for making date fill in automatically
    By mauibeetle in forum Excel General
    Replies: 2
    Last Post: 05-15-2009, 07:09 PM
  7. Create a formula to fill in a date series without using
    By John in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-25-2005, 01:05 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