+ Reply to Thread
Results 1 to 3 of 3

Formula to distribute intermittent dates against complete list of dates

  1. #1
    Registered User
    Join Date
    07-13-2023
    Location
    South Northampton
    MS-Off Ver
    365
    Posts
    1

    Formula to distribute intermittent dates against complete list of dates

    Hello, I have a log of values recorded intermittently over a date range. I need a formula to space out the entries over the complete date range. In other words, in the attached screenshot each date in column G and would line up with its matching value in column J, and column G and H would have blank cells for the missing dates. I'm racking my brain, any help will be greatly appreciated.
    Attached Images Attached Images

  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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,981

    Re: Formula to distribute intermittent dates against complete list of dates

    Welcome to the forum.

    Why are your dates in US format? Is South Northampton in the US?

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,981

    Re: Formula to distribute intermittent dates against complete list of dates

    Try this:

    =LET(s,SEQUENCE(MAX(A1:A20)-MIN(A1:A20)+1,,MIN(A1:A20),1),v,IFNA(VLOOKUP(s,A1:B20,2,0),""),HSTACK(s,v))

    Change the arrays (A1:A20 and A1:B20) to match your own data.
    Attached Files Attached Files
    Last edited by AliGW; 07-13-2023 at 10:57 AM. Reason: Workbook added.

+ 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. Replies: 1
    Last Post: 04-06-2021, 10:59 AM
  2. [SOLVED] Formula to return the 'earliest' and 'latest' dates from a list of dates is not working
    By Hawkmoth1 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-21-2017, 07:14 AM
  3. Populating list of dates from another sheet with Start Dates and End Dates
    By Jesshloly in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2015, 04:07 AM
  4. [SOLVED] Formula to find missing dates from a list of dates
    By PWinkz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-22-2014, 08:11 AM
  5. [SOLVED] Produce complete list of MM/YY dates between two MM/DD/YY dates.
    By tinytutu in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-16-2013, 07:45 PM
  6. [SOLVED] formula to list dates in a table (Listing duplicate dates only once)
    By JRidge in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 10-11-2013, 03:53 AM
  7. [SOLVED] Highlight Group of Dates if Dates Match List of other Dates
    By martinpgibson in forum Excel General
    Replies: 5
    Last Post: 10-24-2012, 08:14 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