Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Onurali_k
 
Posts: n/a
Default ACCRINT formula yields incorrect result

I applied the ACCRINT formula to a security with

maturity: 09 Feb 2010
issue: 09 Feb 2005 (adjusted to exclude coupons already paid)
first interest: 09 Feb 2005
settlement: 25 Mar 2005
coupon rate: 9.25%
frequency: 1
basis: 1 (ACT/ACT)

the formula should yield

9.25 x (25 Mar 2005 - 09 Feb 2005) / (09 Feb 2006 - 09 Feb 2005) =
9.25 x 44 / 365 = 1.1150685

but Excel calculates it as 1.112021858

upon exploration, I found out that it takes the day count of year as 366
mistakenly.

Is there a solution for this bug?


  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

I'm using Excel XP on a Win2k PC & I get the results you seek.

What version are you using?

"Onurali_k" wrote:

I applied the ACCRINT formula to a security with

maturity: 09 Feb 2010
issue: 09 Feb 2005 (adjusted to exclude coupons already paid)
first interest: 09 Feb 2005
settlement: 25 Mar 2005
coupon rate: 9.25%
frequency: 1
basis: 1 (ACT/ACT)

the formula should yield

9.25 x (25 Mar 2005 - 09 Feb 2005) / (09 Feb 2006 - 09 Feb 2005) =
9.25 x 44 / 365 = 1.1150685

but Excel calculates it as 1.112021858

upon exploration, I found out that it takes the day count of year as 366
mistakenly.

Is there a solution for this bug?


  #3   Report Post  
Onurali_k
 
Posts: n/a
Default

MS Excel 2000 9.0.6926 SP-3

"Duke Carey" wrote:

I'm using Excel XP on a Win2k PC & I get the results you seek.

What version are you using?

"Onurali_k" wrote:

I applied the ACCRINT formula to a security with

maturity: 09 Feb 2010
issue: 09 Feb 2005 (adjusted to exclude coupons already paid)
first interest: 09 Feb 2005
settlement: 25 Mar 2005
coupon rate: 9.25%
frequency: 1
basis: 1 (ACT/ACT)

the formula should yield

9.25 x (25 Mar 2005 - 09 Feb 2005) / (09 Feb 2006 - 09 Feb 2005) =
9.25 x 44 / 365 = 1.1150685

but Excel calculates it as 1.112021858

upon exploration, I found out that it takes the day count of year as 366
mistakenly.

Is there a solution for this bug?


  #4   Report Post  
Onurali_k
 
Posts: n/a
Default

Meanwhile I checked the formula in another computer running Excel 2003 SP-1
and it gives the wrong result too.

"Onurali_k" wrote:

MS Excel 2000 9.0.6926 SP-3

"Duke Carey" wrote:

I'm using Excel XP on a Win2k PC & I get the results you seek.

What version are you using?

"Onurali_k" wrote:

I applied the ACCRINT formula to a security with

maturity: 09 Feb 2010
issue: 09 Feb 2005 (adjusted to exclude coupons already paid)
first interest: 09 Feb 2005
settlement: 25 Mar 2005
coupon rate: 9.25%
frequency: 1
basis: 1 (ACT/ACT)

the formula should yield

9.25 x (25 Mar 2005 - 09 Feb 2005) / (09 Feb 2006 - 09 Feb 2005) =
9.25 x 44 / 365 = 1.1150685

but Excel calculates it as 1.112021858

upon exploration, I found out that it takes the day count of year as 366
mistakenly.

Is there a solution for this bug?


  #5   Report Post  
Duke Carey
 
Posts: n/a
Default

I just checked it on a PC with Excel 2000 and got your expected results.

Please double-check that your dates are actually 2005 dates, not 2004 dates

"Onurali_k" wrote:

Meanwhile I checked the formula in another computer running Excel 2003 SP-1
and it gives the wrong result too.

"Onurali_k" wrote:

MS Excel 2000 9.0.6926 SP-3

"Duke Carey" wrote:

I'm using Excel XP on a Win2k PC & I get the results you seek.

What version are you using?

"Onurali_k" wrote:

I applied the ACCRINT formula to a security with

maturity: 09 Feb 2010
issue: 09 Feb 2005 (adjusted to exclude coupons already paid)
first interest: 09 Feb 2005
settlement: 25 Mar 2005
coupon rate: 9.25%
frequency: 1
basis: 1 (ACT/ACT)

the formula should yield

9.25 x (25 Mar 2005 - 09 Feb 2005) / (09 Feb 2006 - 09 Feb 2005) =
9.25 x 44 / 365 = 1.1150685

but Excel calculates it as 1.112021858

upon exploration, I found out that it takes the day count of year as 366
mistakenly.

Is there a solution for this bug?




  #6   Report Post  
Onurali_k
 
Posts: n/a
Default

Not that careless, they are 2005 dates. Can this be a Y2K problem?

"Duke Carey" wrote:

I just checked it on a PC with Excel 2000 and got your expected results.

Please double-check that your dates are actually 2005 dates, not 2004 dates

"Onurali_k" wrote:

Meanwhile I checked the formula in another computer running Excel 2003 SP-1
and it gives the wrong result too.

"Onurali_k" wrote:

MS Excel 2000 9.0.6926 SP-3

"Duke Carey" wrote:

I'm using Excel XP on a Win2k PC & I get the results you seek.

What version are you using?

"Onurali_k" wrote:

I applied the ACCRINT formula to a security with

maturity: 09 Feb 2010
issue: 09 Feb 2005 (adjusted to exclude coupons already paid)
first interest: 09 Feb 2005
settlement: 25 Mar 2005
coupon rate: 9.25%
frequency: 1
basis: 1 (ACT/ACT)

the formula should yield

9.25 x (25 Mar 2005 - 09 Feb 2005) / (09 Feb 2006 - 09 Feb 2005) =
9.25 x 44 / 365 = 1.1150685

but Excel calculates it as 1.112021858

upon exploration, I found out that it takes the day count of year as 366
mistakenly.

Is there a solution for this bug?


  #7   Report Post  
Duke Carey
 
Posts: n/a
Default

Well, apparently I am careless. The number I got didn't match either of
yours and I cannot figure out what got factored into that result. It looked
very much like your desired result, but started with 1.105 instead of 1.115

Also, I was careless in considering your question. If the bond is issued
2/9/05, the first payment will be 2/9/06 (assuming annual coupons). If you
change that argument in your formula, do you get the right answer? I *think*
I did.



"Onurali_k" wrote:

Not that careless, they are 2005 dates. Can this be a Y2K problem?

"Duke Carey" wrote:

I just checked it on a PC with Excel 2000 and got your expected results.

Please double-check that your dates are actually 2005 dates, not 2004 dates

"Onurali_k" wrote:

Meanwhile I checked the formula in another computer running Excel 2003 SP-1
and it gives the wrong result too.

"Onurali_k" wrote:

MS Excel 2000 9.0.6926 SP-3

"Duke Carey" wrote:

I'm using Excel XP on a Win2k PC & I get the results you seek.

What version are you using?

"Onurali_k" wrote:

I applied the ACCRINT formula to a security with

maturity: 09 Feb 2010
issue: 09 Feb 2005 (adjusted to exclude coupons already paid)
first interest: 09 Feb 2005
settlement: 25 Mar 2005
coupon rate: 9.25%
frequency: 1
basis: 1 (ACT/ACT)

the formula should yield

9.25 x (25 Mar 2005 - 09 Feb 2005) / (09 Feb 2006 - 09 Feb 2005) =
9.25 x 44 / 365 = 1.1150685

but Excel calculates it as 1.112021858

upon exploration, I found out that it takes the day count of year as 366
mistakenly.

Is there a solution for this bug?


  #8   Report Post  
Onurali_k
 
Posts: n/a
Default

:) I was just going to post a message correct myself. Upon a not-so-related
question from a colleague, we discovered that a few minutes before I read
your response, of course with your invaluable help.

Most of the securities in my portfolio have bases of 30/360 and ACCRINT
calculates the correct accrued coupon even if I enter the last coupon date as
"first interest", therefore I applied the same wrong formula to all
securities and those having ACT day bases gave incorrect results.

Thank you so much...

"Duke Carey" wrote:

Well, apparently I am careless. The number I got didn't match either of
yours and I cannot figure out what got factored into that result. It looked
very much like your desired result, but started with 1.105 instead of 1.115

Also, I was careless in considering your question. If the bond is issued
2/9/05, the first payment will be 2/9/06 (assuming annual coupons). If you
change that argument in your formula, do you get the right answer? I *think*
I did.



"Onurali_k" wrote:

Not that careless, they are 2005 dates. Can this be a Y2K problem?

"Duke Carey" wrote:

I just checked it on a PC with Excel 2000 and got your expected results.

Please double-check that your dates are actually 2005 dates, not 2004 dates

"Onurali_k" wrote:

Meanwhile I checked the formula in another computer running Excel 2003 SP-1
and it gives the wrong result too.

"Onurali_k" wrote:

MS Excel 2000 9.0.6926 SP-3

"Duke Carey" wrote:

I'm using Excel XP on a Win2k PC & I get the results you seek.

What version are you using?

"Onurali_k" wrote:

I applied the ACCRINT formula to a security with

maturity: 09 Feb 2010
issue: 09 Feb 2005 (adjusted to exclude coupons already paid)
first interest: 09 Feb 2005
settlement: 25 Mar 2005
coupon rate: 9.25%
frequency: 1
basis: 1 (ACT/ACT)

the formula should yield

9.25 x (25 Mar 2005 - 09 Feb 2005) / (09 Feb 2006 - 09 Feb 2005) =
9.25 x 44 / 365 = 1.1150685

but Excel calculates it as 1.112021858

upon exploration, I found out that it takes the day count of year as 366
mistakenly.

Is there a solution for this bug?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ACCRINT formula gives incorrect result Onurali_k Excel Worksheet Functions 0 March 24th 05 03:17 PM
Cell shows formula and not the result of the formula. stumpy1220 Excel Worksheet Functions 2 January 14th 05 05:11 PM
Is there a formula to spell out a number in excel? Sha-nay-nay Excel Worksheet Functions 2 December 18th 04 09:25 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM
Excel 2003 - Formula result shows as 0:00 Serena Excel Worksheet Functions 4 November 11th 04 10:18 PM


All times are GMT +1. The time now is 09:25 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"