+ Reply to Thread
Results 1 to 7 of 7

Average a number into months left in year

  1. #1
    Registered User
    Join Date
    07-14-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Average a number into months left in year

    I am completing leave reports (days off) for my employees. Some of them have more days left than they can carry over for the next calender year and are required to use them by the end of the year. Schedules are posted on a monthly basis. I already have a column that uses an IF formula to show only those people that are >0 (shows the number of days left). What is the formula if I want to calculate the average number of days they must take by the end of the year.

    I.E. Mr. Smith has 60 leave days and can carry over 55 so he is 5 over. He has from August until December to use them thats 5 months, therefore, he must use an average of 1 day per month to not lose any days. I am not sure if I need to setup a dummy date cell with the date 12/1/2013 or what... Thanks in advance.

    **More easily said, I need to divide a cell value by the number of months left in the year***
    Last edited by jgryctz; 07-14-2013 at 01:33 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: Average a number into months left in year

    Full months left in year...

    Please Login or Register  to view this content.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,755

    Re: Average a number into months left in year

    datedif() will count the months left
    =DATEDIF(TODAY(),"31/12/2013","M")
    and so that returns 5

    then you need to use the cell with the number of days left - the cell with the days allowed to take over / the formula datedif
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Average a number into months left in year

    or just...
    =DATE(2013,12,31)-TODAY()
    formatted as number
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: Average a number into months left in year

    Ummm.... number of months.

    Not number of days.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Average a number into months left in year

    LOL thanks jhren, I guess it pays to read properly

    **More easily said, I need to divide a cell value by the number of months left in the year***

  7. #7
    Registered User
    Join Date
    07-14-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Average a number into months left in year

    Thank you all, I thought about that after i sent the post but showing the formula was still a big help, thanks a lot.

+ 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. Average Year before all months are completed
    By CassidiC12 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-10-2013, 09:49 AM
  2. [SOLVED] how to get the max,min,average values months wise from 1 year data
    By sathiyamoorthy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-19-2013, 01:43 AM
  3. Dates in Excel - Counting the Number of Months in a Year
    By uclaboy82 in forum Excel General
    Replies: 1
    Last Post: 06-04-2012, 11:13 PM
  4. Calculate number of months in year
    By littlelax in forum Excel General
    Replies: 9
    Last Post: 02-02-2012, 09:01 AM
  5. [SOLVED] count number of months year to date
    By coal_miner in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-04-2005, 10:06 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