+ Reply to Thread
Results 1 to 5 of 5

Calculate Total Months Between Based On Different Inputs

  1. #1
    Registered User
    Join Date
    08-05-2022
    Location
    East Coast
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    2

    Calculate Total Months Between Based On Different Inputs

    Hi Everyone,

    I have attached the file that I am currently working on building. I need to be able to calculate someone's months in training if they are still in training based on their entry date and completion date. But I want to see the total months in training if they have not yet completed that training.

    In the excel sheet that I attached, I want to see Column F (Months in Training(F1)) continue to count from Column D (Date Entered Training), until I change Column I to a "Pass". If Column I is a "Fail" I want Column F to continue counting until Column K is either marked "Pass" or "Fail".

    I hope someone can help me!
    Attached Files Attached Files
    Last edited by Soch10; 08-05-2022 at 10:11 PM.

  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
    81,070

    Re: Calculate Total Months Between Based On Different Inputs

    Administrative Note:

    Welcome to the forum.

    Members will tailor the solutions they offer to the version (NOT release number) of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    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
    81,070

    Re: Calculate Total Months Between Based On Different Inputs

    How about this?

    =IF(OR([@[F1 Evaluation Pass / Fail]]="Pass",[@[F1 Evaluation Refire Date]]="Pass"),DATEDIF(D3,[@[Actual F1 Evaluation Date]],"M"),DATEDIF(D3,TODAY(),"M"))

    Excel can't just stop counting without another date to use where the criteria ar e met.

  4. #4
    Registered User
    Join Date
    08-05-2022
    Location
    East Coast
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    2

    Re: Calculate Total Months Between Based On Different Inputs

    Thanks for that! I believe I added the correct information.

  5. #5
    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
    81,070

    Re: Calculate Total Months Between Based On Different Inputs

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you 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. How to calculate date of birth by total number of Years months days
    By Ell0ll in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-28-2021, 10:03 PM
  2. Calculate a date depending on a number of months
    By jk2391 in forum Excel General
    Replies: 1
    Last Post: 06-10-2020, 05:28 PM
  3. Replies: 2
    Last Post: 06-05-2017, 01:09 AM
  4. Replies: 1
    Last Post: 02-23-2017, 04:55 PM
  5. Replies: 8
    Last Post: 02-20-2014, 05:46 PM
  6. Replies: 1
    Last Post: 06-15-2011, 01:01 PM
  7. Replies: 5
    Last Post: 06-07-2008, 02:32 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