+ Reply to Thread
Results 1 to 7 of 7

Excel formula that changes a status value based on a day counter and dates in other cells

  1. #1
    Registered User
    Join Date
    03-11-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    16

    Excel formula that changes a status value based on a day counter and dates in other cells

    Hi,

    I am trying to get a formula so that a cell (J9) that has a range of statuses will update a Status of "On Track" based on the following:

    1) a day counter in cell I9 with at least 7days remaining;

    2) if there is at least 7days remaing between a date in cell T9 and a date in cell V9. Eg. If T9 has a date of 20/3/2015 and V9 has a date of 28/3/2015; and

    3) and for it to be live updating based on todays date which is in cell T4.

    **But the day counter in cell I9 is based on the TODAY() formula so may not need another reference to todays date**

    This is beyond my excel skills, i dont even know where to start to be honest!

    Any guidance/help would be much appreciated

    Thanks

    Jake
    Last edited by jakecutler; 03-13-2015 at 03:23 AM. Reason: Additional Text

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Excel formula that changes a status value based on a day counter and dates in other ce

    Not sure about what you after, are you trying calculate distance between 2 dates? In complete years, months and days?

    regards

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Excel formula that changes a status value based on a day counter and dates in other ce

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Registered User
    Join Date
    03-11-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    16

    Re: Excel formula that changes a status value based on a day counter and dates in other ce

    Hi azumi,

    Im trying to get excel to calculate the difference between two dates and if there are 7 days or more left then the status will be "On Track"

    In addition though, also to get excel to detect how many days are left in a seperate cell with a day counter. So if there are 7 days left on the day counter and 7days or more between the two dates then the status will be "On Track"

    cheers

    Jake

  5. #5
    Registered User
    Join Date
    03-11-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    16

    Re: Excel formula that changes a status value based on a day counter and dates in other ce

    Sample.xlsx

    Sample Attached, cells in question i have highlighted in Yellow.

    Im assuming its an IF function formula something along the lines of:

    =IF(AND(I9>=7,DATEDIFF(T9,V9>=7),"On Track",""

    Thanks

    Jake

  6. #6
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Excel formula that changes a status value based on a day counter and dates in other ce

    Maybe like this?

    =IF(AND(I9>=7,DATEDIF(T9,V9,"d")>=7),"On Track","")

  7. #7
    Registered User
    Join Date
    03-11-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    16

    Re: Excel formula that changes a status value based on a day counter and dates in other ce

    Hi Azumi,

    Thank you, that has solved it!

    Simpler equation required than what i though would be required

    Jake

+ 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. Function to return status text based on dates
    By jscalem in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-24-2014, 04:48 PM
  2. [SOLVED] Creating a formula to populate range of cells between dates based on start and end dates
    By Rainmain82 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-20-2014, 07:42 PM
  3. [SOLVED] Creating a formula to populate range of cells between dates based on start and end dates
    By Rainmain82 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-18-2014, 07:55 AM
  4. IF formula with different status dates
    By mbay in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 07-27-2013, 10:26 AM
  5. Replies: 4
    Last Post: 04-08-2012, 09:43 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