+ Reply to Thread
Results 1 to 6 of 6

calulate number of days in number of months.

  1. #1
    Forum Contributor visha_1984's Avatar
    Join Date
    11-27-2012
    Location
    Pune,India
    MS-Off Ver
    Excel 2010
    Posts
    290

    calulate number of days in number of months.

    Hi Team,

    I need formula
    i have working days count ,and need Number of month

    exmp:- 30 - 1 month
    60 - 2 Month
    35 - 1 month 5 Days
    70 - 2 month 10 Days,
    365- 1 year

    Thanks in advance
    Happy to Help

    VISHA

    Click *, if the suggestion helps you!
    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>> "Mark your thread as Solved"

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: calulate number of days in number of months.

    If you have 361 days (or 362, 363, 364), what result would you want from that ?

    Pete

  3. #3
    Forum Contributor visha_1984's Avatar
    Join Date
    11-27-2012
    Location
    Pune,India
    MS-Off Ver
    Excel 2010
    Posts
    290

    Re: calulate number of days in number of months.

    Hi Pate,

    thanks for your quick reply

    if 361 days = 11 month remaining days

  4. #4
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: calulate number of days in number of months.

    Please confirm if you are looking for this result.

    =IF(A1>=365,ROUNDDOWN(A1/365,0)&" yrs "&MOD(A1,365)&" days",ROUNDDOWN(A1/30,0)&" months "&MOD(A1,30)&" days")
    Last edited by ramananhrm; 10-28-2013 at 07:06 AM.
    Please click 'Add reputation', if my answer helped you.

  5. #5
    Forum Contributor visha_1984's Avatar
    Join Date
    11-27-2012
    Location
    Pune,India
    MS-Off Ver
    Excel 2010
    Posts
    290

    Re: calulate number of days in number of months.

    Quote Originally Posted by ramananhrm View Post
    Please confirm if you are looking for this result.

    =IF(A1>=365,"1 year",ROUNDDOWN(A1/30,0)&" months "&MOD(A1,30)&" days")
    Hi ,Ramananhrm

    i just check formula but if days 750 it should return 2 year 20 days.

    361 12 months 1 days
    365 1 year
    750 1 year
    1050 1 year
    150 5 months 0 days
    30 1 months 0 days

  6. #6
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: calulate number of days in number of months.

    Please try this function.

    =IFERROR(IF(A1>=365,ROUNDDOWN(A1/365,0)&" yrs "&ROUNDDOWN(MOD(A1,365)/30,0)&" months "&MOD(MOD(A1,365)/30,ROUNDDOWN(MOD(A1,365)/30,0))*30&" days",ROUNDDOWN(A1/30,0)&" months "&MOD(A1,30)&" days"),IF(A1>=365,ROUNDDOWN(A1/365,0)&" yrs "&MOD(A1,365)&" days",ROUNDDOWN(A1/30,0)&" months "&MOD(A1,30)&" days"))

    Rgds,
    Attached Files Attached Files
    Last edited by ramananhrm; 10-28-2013 at 07:49 AM.

+ 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: 6
    Last Post: 01-31-2013, 02:50 AM
  2. Replies: 2
    Last Post: 12-01-2009, 01:57 PM
  3. Replies: 9
    Last Post: 01-22-2009, 06:01 PM
  4. Translate ~Number of days in a week to number of days across months
    By martin ridley in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-26-2008, 01:09 PM
  5. [SOLVED] how do I convert a number to number of years, months and days
    By because in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-12-2005, 02:05 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