+ Reply to Thread
Results 1 to 2 of 2

Calculate number of full months and % share of remaining days between 2 dates?

  1. #1
    Forum Contributor
    Join Date
    04-01-2010
    Location
    USA
    MS-Off Ver
    Office 2021
    Posts
    185

    Calculate number of full months and % share of remaining days between 2 dates?

    I have a lease that runs until the end of June 2015 and I'm trying to figure out the amount of the remaining payments, so need to figure out the time remaining as far as how many full months as well as % share left for any partial months.

    For example, today is 8/29/13 and there are 31 days in the month. If the lease payment was $100/month they would owe (3/31)*100 or $9.68 for this month. Next month is September, which has 30 days, so if I were looking at it next month I'd have to figure out the remaining days / 30 to figure out the payment.

    I know I can used the "datedif()" function to figure out the whole months remaining, but how can I determine the remaining days for the current month and divide that by the number of days in the month?

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Calculate number of full months and % share of remaining days between 2 dates?

    Do you mean?

    =((EOMONTH(TODAY(),0)+1-TODAY())/((EOMONTH(TODAY(),0)-(EOMONTH(TODAY(),-1)+1))+1))*100
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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: 11
    Last Post: 01-13-2013, 09:40 AM
  2. [SOLVED] Calculate number of days when months change
    By wherzdaluv in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-20-2012, 12:06 PM
  3. Replies: 4
    Last Post: 11-28-2011, 06:21 AM
  4. Calculate remaining # of days between 2 dates
    By Potato2009 in forum Excel General
    Replies: 4
    Last Post: 08-13-2009, 03:21 PM
  5. Excel-formula required to calculate number of days remaining
    By sahar_sultana in forum Excel General
    Replies: 10
    Last Post: 04-03-2009, 02:41 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