+ Reply to Thread
Results 1 to 7 of 7

Split number of months

  1. #1
    Registered User
    Join Date
    06-27-2014
    Location
    Mumbai
    MS-Off Ver
    MS Office 2007
    Posts
    9

    Split number of months

    Arun Singh:
    Since the total period of contrat is 36 months and 30 months are already expired (6+12+12)(cell no k6+m6+o6)Q6 should restrict to 6 only
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,572

    Re: Split number of months

    Hello caarun1983 and Welcome to Excel Forum.
    Note that this question should be in the Excel Formulas & Functions forum (please ask a moderator to move it).
    In order to keep the formulas in columns K, M, O and Q consistent the formula in column K is modified to read: =IFERROR(DATEDIF(EOMONTH($F6,-1),MIN(EOMONTH($G6,0),DATE(2022,3,31)),"m"),0)
    In column Q the formula is: =IFERROR(DATEDIF(EOMONTH($F6,-1),MIN(EOMONTH($G6,0),DATE(2025,3,31)),"m"),0)-($K6+$M6+$O6)
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    06-27-2014
    Location
    Mumbai
    MS-Off Ver
    MS Office 2007
    Posts
    9

    Re: Split number of months

    Thanks a lot Jete for help

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,572

    Re: Split number of months

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

  5. #5
    Registered User
    Join Date
    06-27-2014
    Location
    Mumbai
    MS-Off Ver
    MS Office 2007
    Posts
    9

    Re: Split number of months

    Thanks for the help

  6. #6
    Registered User
    Join Date
    06-27-2014
    Location
    Mumbai
    MS-Off Ver
    MS Office 2007
    Posts
    9

    Re: Split number of months

    Can you help the same situtation with number of days instead of month

  7. #7
    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,985

    Re: Split number of months

    You have started a new thread for the days question, which is fine, but this thread needs marking as SOLVED.

    All participants: no responses here to the days question, please.

    Go here: https://www.excelforum.com/excel-new...nt-bucket.html
    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.

+ 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. If ID number is duplicated in last 12 months (rolling months)
    By JJ11 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-15-2019, 06:07 AM
  2. Split months to cells
    By omar88 in forum Excel General
    Replies: 5
    Last Post: 05-28-2018, 01:51 AM
  3. Split number of months from years
    By ardhuru in forum Excel General
    Replies: 10
    Last Post: 07-05-2017, 10:45 AM
  4. Replies: 2
    Last Post: 07-22-2014, 02:15 AM
  5. Replies: 8
    Last Post: 02-20-2014, 05:46 PM
  6. [SOLVED] Split a figure by a given number of months in a finanacial years
    By SKirkaldy in forum Excel General
    Replies: 3
    Last Post: 09-11-2013, 01:03 AM
  7. Number of months (elapsed months) between two dates
    By Timbite in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-17-2012, 11:37 AM

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