+ Reply to Thread
Results 1 to 18 of 18

Calculating Monthly Returns

Hybrid View

  1. #1
    Registered User
    Join Date
    06-28-2006
    Posts
    46

    Calculating Monthly Returns

    Hello Everyone!

    Basically, I have a list of dates with respective balances. I am wondering how to get Excel to determine if the end of the month has passed after a certain date and then calculate the return for that month. What is the most efficient way in your opinion?

    Here is a small data sample:

    27/12/2005 06:23 0.3%
    27/12/2005 05:47 -0.6%
    29/12/2005 06:53 1.3%
    04/01/2006 17:55 -0.1%
    09/01/2006 15:35 3.99%
    09/01/2006 15:46 2.54%
    09/01/2006 17:07 1.8%
    12/01/2006 07:12 -2%
    12/01/2006 13:37 1.5%
    12/01/2006 13:39 0.8%
    12/01/2006 13:58 0.01%


    Many thanks,

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    What do you mean with ".. calculate the return for that month." ?

    Is this about opening and closing balances ?

  3. #3
    Registered User
    Join Date
    06-28-2006
    Posts
    46
    Hello WinteE,

    Thank you for your query. My apologies if it was unclear.

    What I mean by "monthly return" is the sum of (financial) figures for a month.

    In the data sample, the monthly return for December 2005 would be 1% and for January 2006: 5.1418% .

    What I am trying to find is an excel formula that would consider the dates in the first column, and sum the figures in the second column if they are within the month.

    Many thanks,

  4. #4
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    You can extract the month and year from the date by using MONTH() and YEAR(). Join these two together as MONTH()&YEAR() in a separate column next to the date and value.
    Based on the number of the month (1) and year (2006) combined to 12006 you now can use the COUNTIF() function to get the totals by month.

    Erik

  5. #5
    Registered User
    Join Date
    06-28-2006
    Posts
    46
    Hello Erik,

    Thank you very much for your reply.

    Assuming that all dates value are in column A, all return values are in column B, and all "month ID" value are in column C, and months (in "mmm/yy" format) are in column D, should it give something like this :

    COUNTIF(B:B, C:C=D1)

    ?

    Many thanks,
    Last edited by duration; 04-28-2007 at 11:12 AM.

  6. #6
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Assumed :
    A4 = date, B4 = return value, C4 = MONTH(A4)&YEAR(A4).
    and so on for lines 2, 3 etc.

    A1 = 1 (monthnumber), B1 = 2006 (year), C1 = =COUNTIF(C4:C100,A1&B1,B4:B100).

    Now C1 will show the total of return values for january 2006.

    To find out what syntax you have to use for a function you better use the function wizard.
    Last edited by WinteE; 04-28-2007 at 10:53 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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