+ Reply to Thread
Results 1 to 5 of 5

Calculate how many months in 2016

  1. #1
    Registered User
    Join Date
    06-02-2017
    Location
    Amsterdam
    MS-Off Ver
    MS office 2016 for MAC
    Posts
    15

    Calculate how many months in 2016

    Hi All,

    I have this dilemma I have a excel list with amounts that have a revenue recognition over a 12 month period, now I want to know how I can calculate only the amount that is relate to 2016. The Rev Rec start date is the date the revenue recognition starts and the Rev Rec end date is the date it ends. How can I create a formula that takes the total amount divides it over the total period and returns only that portion that is related to 2016?

    Can anyone please help because I am stuck now and if I have to do this manually it will take me ages because the file contains more than 35K lines. (I have attached a small portion of the file as a example).

    Thanks for your help in advance,

    Kind regards,
    Nordin
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Calculate how many months in 2016

    Try this formula in I2 and fill down.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  3. #3
    Registered User
    Join Date
    06-02-2017
    Location
    Amsterdam
    MS-Off Ver
    MS office 2016 for MAC
    Posts
    15

    Re: Calculate how many months in 2016

    Quote Originally Posted by FlameRetired View Post
    Try this formula in I2 and fill down.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thanks Dave,

    Worked perfect one other question, I forgot to mention that I also need the amount of months is 2016?

    Can you please let me know how I can work that out?

    Thanks in advance,
    Nordin

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: Calculate how many months in 2016

    In P1 1/1/2016
    In I2 =DATEDIF(G2,H2,"m")+1 and copy down
    In J2 =DATEDIF($P$1,H2,"m")+1 and copy down
    in K2 =(E2/I2)*J2 and copy down

    v A B C D E F G H I J K L M N O P
    1 Internal ID Date Type Document Number Amount Department Rev. Rec. Start Date Rev. Rec. End Date Length Balance Months Revenue 1/1/2016
    2 450862 10/1/2014 Invoice 55056 360.00 Membership 7/1/2015 6/30/2016 12 6 180
    3 470362 11/18/2014 Invoice 55729 360.00 Membership 2/1/2015 1/31/2016 12 1 30
    4 470363 11/18/2014 Invoice 55730 360.00 Membership 2/1/2015 1/31/2016 12 1 30
    5 470364 11/18/2014 Invoice 55731 360.00 Membership 2/1/2015 1/31/2016 12 1 30
    6 470365 11/18/2014 Invoice 55732 360.00 Membership 2/1/2015 1/31/2016 12 1 30
    7 470366 11/18/2014 Invoice 55733 360.00 Membership 2/1/2015 1/31/2016 12 1 30
    Last edited by alansidman; 06-05-2017 at 09:44 PM.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Calculate how many months in 2016

    I forgot to mention that I also need the amount of months is 2016?
    Check alansidman's formula for I2.

+ 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. [SOLVED] excel 2016 if formula wnats add overhead to one cell , but not to calculate other
    By Bitto in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-31-2017, 12:43 PM
  2. Replies: 2
    Last Post: 05-24-2016, 10:43 PM
  3. [SOLVED] How to Calculate Age In 1-July-2016
    By Jhon Mustofa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-28-2016, 10:06 PM
  4. Replies: 8
    Last Post: 02-20-2014, 05:46 PM
  5. [SOLVED] Looking to calculate months
    By Ltat42a in forum Excel General
    Replies: 4
    Last Post: 10-24-2012, 02:46 PM
  6. calculate months
    By Mellefranken in forum Excel General
    Replies: 1
    Last Post: 05-23-2007, 11:45 AM
  7. Calculate 6 Months
    By Jason in forum Excel General
    Replies: 5
    Last Post: 08-18-2005, 08: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