+ Reply to Thread
Results 1 to 7 of 7

Formula to calculate the next available date in a column

  1. #1
    Registered User
    Join Date
    09-24-2018
    Location
    Texas
    MS-Off Ver
    365
    Posts
    57

    Formula to calculate the next available date in a column

    Need a formula that can return the first available date in Column A based on the Model listing in Column F. The date must not have a Product ID in Column B, but the Product Type in Column C needs to match the first Model from Column F.

    In simple terms I want to know the next available start date from the top down that I can start a specific Model Type in column F. If a Product is already slotted to a specific start date then do not return that date.

    Thank you for all the support!
    Attached Files Attached Files
    Last edited by jclaborn; 04-22-2020 at 10:45 PM.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,797

    Re: Formula to calculate the next available date in a column

    does this work
    =INDEX(A:A,MATCH(1,INDEX((F2=C:C)*(""=B:B),0,1),0))

    will you have dates before today() in the list
    so is a date after today() needed
    =INDEX(A:A,MATCH(1,INDEX((F5=C:C)*(0=B:B)*(TODAY()<A:A),0,1),0))
    Last edited by etaf; 04-16-2020 at 12:45 PM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Formula to calculate the next available date in a column

    Hi jcl,

    No formulas needed. Just a simple pivot table where you filter the ID for blanks and pick minimum date. See the attached
    Next Available Date Pivot Table Blank filter.xlsx
    You will need to convert those Text Dates to real dates.... To do that use Paste Special of a cell with zero in it to ADD ONLY across all your text dates.
    https://office-watch.com/2018/text-t...paste-special/
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    09-24-2018
    Location
    Texas
    MS-Off Ver
    365
    Posts
    57

    Re: Formula to calculate the next available date in a column

    Quote Originally Posted by etaf View Post
    does this work
    =INDEX(A:A,MATCH(1,INDEX((F2=C:C)*(""=B:B),0,1),0))

    will you have dates before today() in the list
    so is a date after today() needed
    =INDEX(A:A,MATCH(1,INDEX((F5=C:C)*(0=B:B)*(TODAY()<A:A),0,1),0))
    Thanks for the reply! Your first formula worked with my test sheet. But your correct with with your second statement. I do have dates on my schedule that are from last year etc.. When I try and use your 2nd formula I get the #NA error.

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,797

    Re: Formula to calculate the next available date in a column

    can you load an example
    Attached Files Attached Files

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Formula to calculate the next available date in a column

    Hey etaf,

    I attach files using the picture icon so it takes less room. In my post above, click on the blue link of "Next Available Date Pivot Table Blank filter.xlxs" and it will open my example.
    Sorry if that is confusing..

  7. #7
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,797

    Re: Formula to calculate the next available date in a column

    Sorry, I should have said who that was refering to - I was asking OP for examples where the formula did not work
    I'm sure a pivot table is a better option

+ 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: 4
    Last Post: 04-26-2018, 11:35 AM
  2. Replies: 6
    Last Post: 12-07-2016, 02:36 AM
  3. Replies: 6
    Last Post: 12-07-2016, 12:28 AM
  4. Replies: 1
    Last Post: 12-06-2016, 06:28 PM
  5. Replies: 3
    Last Post: 04-08-2016, 09:11 AM
  6. Replies: 11
    Last Post: 05-22-2015, 07:18 PM
  7. Formula to calculate future date; applied to whole column
    By DainaHiggins in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-21-2013, 01:51 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