• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Unexpected result from YIELDDISC, DISC, INTRATE and PRICEDISC functions.|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Unexpected result from YIELDDISC, DISC, INTRATE and PRICEDISC functions.|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Unexpected result from YIELDDISC, D…
sp_PrintTopic sp_TopicIcon
Unexpected result from YIELDDISC, DISC, INTRATE and PRICEDISC functions.
Avatar
Vijay Vardhan
Member
Members
Level 0
Forum Posts: 15
Member Since:
January 27, 2023
sp_UserOfflineSmall Offline
1
February 20, 2023 - 3:47 am
sp_Permalink sp_Print

I have chosen input values of cash flows and dates of cash flows for 10% yield. Each of these functions not only fail to return 10% as output but also each of them are producing different different values from that of each other's. PRICEDISC should return $100 as investment amount or the principal for 10% yield but it isn't. I have attached Excel file.

sp_AnswersTopicSeeAnswer See Answer
Avatar
Catalin Bombea
Iasi, Romania
Admin
Level 10
Forum Posts: 1807
Member Since:
November 8, 2013
sp_UserOfflineSmall Offline
2
February 27, 2023 - 5:24 pm
sp_Permalink sp_Print

Sorry, finances is not my main field of expertise and I assume this is why you did not get an answer yet.

I suggest asking this question on a dedicated finances forum.

Avatar
Velouria
London or thereabouts
Moderator
Members


Trusted Members

Moderators
Level 4
Forum Posts: 613
Member Since:
November 1, 2018
sp_UserOfflineSmall Offline
3
February 27, 2023 - 7:55 pm
sp_Permalink sp_Print

You've misunderstood the date parts. You should add a year for the maturity date, not 360 days. If you check the results of YEARFRAC(B2,B3) for example, you will see it is not 1.

Avatar
Vijay Vardhan
Member
Members
Level 0
Forum Posts: 15
Member Since:
January 27, 2023
sp_UserOfflineSmall Offline
4
March 1, 2023 - 2:22 am
sp_Permalink sp_Print

Velouria, for basis argument of the function for basis of either 0 or 4, convention is 30/360. Which means day count of 30 for one month and day count of 360 for one year.

Avatar
Velouria
London or thereabouts
Moderator
Members


Trusted Members

Moderators
Level 4
Forum Posts: 613
Member Since:
November 1, 2018
sp_UserOfflineSmall Offline
5
March 1, 2023 - 6:38 pm
sp_Permalink sp_Print

I know that. But if you simply add 360 days to a date, you have actually added 11 months plus a certain number of days. Each of those months will only be counted for 30 days for the calculation. So let's say you have 1/1/2023 as a start date and you add 360. You get 27 Dec 2023 as an end date. For a 360 day year calculation, you have 11 months at 30 days (Jan - Nov) plus 26 days in December, which is only 356 days. That's why your calculation is not returning what you expect - it's not treated as a full year.

Avatar
Vijay Vardhan
Member
Members
Level 0
Forum Posts: 15
Member Since:
January 27, 2023
sp_UserOfflineSmall Offline
6
March 2, 2023 - 6:16 pm
sp_Permalink sp_Print

For basis of 0/4 each subsequent 30 day completion will be considered as completion of 1 month and each subsequent 360 days from start date will be considered as completion of 1 year no matter what date of the month it belongs. For start date of 1/1/2023, 31 January will mark completion of 1 month, 2nd March will mark completion of 2nd month, 1st April will mark completion of 3rd month and so on 27 December will mark completion of 12 months that is 1 year. This is what I assume is the interpretation.

Avatar
Velouria
London or thereabouts
Moderator
Members


Trusted Members

Moderators
Level 4
Forum Posts: 613
Member Since:
November 1, 2018
sp_UserOfflineSmall Offline
7
March 2, 2023 - 6:22 pm
sp_Permalink sp_Print

That is clearly not the case. If it were, then using YEARFRAC or DAYS360 on your dates would give you 1 and 360. They do not.

Avatar
Vijay Vardhan
Member
Members
Level 0
Forum Posts: 15
Member Since:
January 27, 2023
sp_UserOfflineSmall Offline
8
March 13, 2023 - 2:17 am
sp_Permalink sp_Print

I have understood the basis part. 0 and 4 assign 30 day count to each month and 360 to a year no matter what is real day count of a month and year. This sounds very fullish. The basis 1 which is for actual/actual is more rational basis. I have digged deeper into each function and the formula it uses from the OpenOffice website for CALC. The outputs of functions differ because YIELDDISC calculates uncompounded returns and DISC applies the discount rate to redemption value (besides the uncompounded returns) which is very fullish thing. PRICEDISC uses same formula of DISC to calculate price with discount rate as input. INTRATE uses same formula as YIELDDISC which makes it a redundant function. I am attaching the modified Excel file. This post answers the question.

sp_AnswersTopicAnswer
Answers Post
sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online:
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Ivica Cvetkovski
Blaine Cox
Shankar Srinivasan
riyepa fdgf
Hannah Cave
Len Matthews
Kristine Arthy
Michelle Neven
Andrew Kuhn
Angela Paul
Forum Stats:
Groups: 3
Forums: 24
Topics: 6206
Posts: 27202

 

Member Stats:
Guest Posters: 49
Members: 31875
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.