+ Reply to Thread
Results 1 to 1 of 1

If year match certain criteria allocate accordingly

  1. #1
    Registered User
    Join Date
    06-22-2010
    Location
    Ulm
    MS-Off Ver
    Excel 2003
    Posts
    28

    If year match certain criteria allocate accordingly

    Dear all,



    I want to calculate in how many days the bond will mature and then linear allocate it to the years (can be seen in the dummy attachment) . For example if the bond is maturing on 9.11.2010 (purchase date 30.6.2010) I will allocate the whole amount to 2010! (100%)

    If the bond is maturing on 22.03.2012. then I will calculate in how many days it will mature (starting from 30.06.2010) and then allocate accordingly. (total 631 days until maturity, from which 29% are in 2010 (184/631) , 57% are in 2011 (364/631), and rest is in 2012- whole amount – (allocated 2010+allocated 2011) ).

    I will appreciate any help in solving this issue. My guess is that there should be 3 scenarios. If the maturity column is equal to 2010 , than take the whole 100% value and allocate it under 2010 column.

    If the maturity value contains 2011, than take the (184/number of days until maturing) * the whole value and allocate under 2010 column, and the rest , for 2011, is whole value – 2010 allocation.

    Further, if the maturity column contains 2012, than take the (184/number of days until maturing) * the whole value and allocate under 2010 column, take the (364/number of days until maturing) * the whole value and allocate under 2011 column, and the rest the whole value – (allocated 2010+allocated 2011) allocate under 2012 ,

    and in the last scenario if the column contains 2013 and above. the process would be the following – take the (184/number of days until maturing) * the whole value and allocate under 2010 column, take the (364/number of days until maturing) * the whole value and allocate under 2011 column, take the (365/number of days until maturing) * the whole value and allocate under 2012 column, and the rest , the whole value – (allocated 2010+allocated 2011+ allocated 2012) allocate under 2013 and beyond.

    thanks for any help
    Attached Files Attached Files
    Last edited by bjelinski; 09-15-2010 at 02:53 PM.

+ 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