Accruing Pref to Match XIRR

Bit of an in the weeds question, but has anyone successfully built a waterfall where they were able to accrue pref at a given tier to exactly match what XIRR spits out? 

I'm currently running a waterfall with an 8.25% hurdle where pref is accrued on a daily basis and hits the capital account on the first day of the month, so using a January 1 accrual date as an example, the logic for the accrual schedule is (Beg. Bal * ((1.0825)^(31/365)-1)).  The issue is that after accruing that way, once everything in the capital account is distributed at sale, XIRR is giving me an 8.244% IRR.   This results in distribution splits getting fucked since those percentages are being looked up based on what the IRR is...so 1/10 of a bp has wrecked my functionality.

Has anyone had success getting your accrual schedule to marry up w/ XIRR or vice-versa?  I'm guessing that the issue is related to accrual days used in each month (something like 360 days vs 365 or including an extra day in each month to account for day-of accrual), but haven't been able to make any changes that worked.   

8 Comments
 
Funniest

Found the issue and in case someone runs into the same issue in the future, the non-attention to detail having motherfucker who designed this formula is unfamiliar w/ leap years.  

I come from down in the valley, where mister when you're young, they bring you up to do like your daddy done
 

It's the opposite - XIRR doesn't account for leap years...also, not hardcoding anything, dawg. 

Know you're actually trying to be helpful, but spent ~3 years in an RX group so have used Excel a few times and if I was reading someone else's post where they spelled out date formulas, I'd immediately stop reading.  For example, I assume/hope anyone would've stopped reading if wrote "={(eomonth(max(if(year range=current year,year range)),0)-min(if(year range=current year,year range))+1}" insted of "365"

I come from down in the valley, where mister when you're young, they bring you up to do like your daddy done
 

Yeah - I got touchy when someone implied that I suck at my one marketable skill

I come from down in the valley, where mister when you're young, they bring you up to do like your daddy done
 
Most Helpful

Lol whoa there my dude, defensive much? We agree with each other, you completely misinterpreted my post.

1. That was my point, XIRR doesn't account for leap years. Your pref accrual formula has to. Either you use 365.25 days in the formula or you have to write something that picks up whether the current year of your cash flow is a leap year (this is excessive, but I've seen teams do it).

2. Nobody said write a date formula... Do you not have a row at the top of your cash flow that has the date of each month/quarter/year? Pro tip my excel wizard friend, if you link to the cell that says 12/31/2021 and deduct the cell that says 11/30/2021, you will get the number of days between them. Alternatively DATEDIF.

 

The issue was that my pref accrual calc was picking up whether a year was a leap year, so had to make each year 365 days for pref accrual calcs for XIRR to agree w/ accrual schedule. 

I come from down in the valley, where mister when you're young, they bring you up to do like your daddy done
 

Quibusdam tempore repellendus enim mollitia dolor et dignissimos. Veniam nisi quia nihil dicta et dolor. Voluptatem necessitatibus distinctio est et temporibus a. Deleniti dolores odit qui autem. Tempore quod maiores velit autem repellendus autem eum. Non laudantium facere error itaque laborum qui iure. Sapiente similique ducimus iusto velit eos.

Quod et ea dolor. Vel perferendis nihil ab sapiente provident sapiente. Nobis porro aut saepe inventore eaque illum minima.

Ut ut itaque ipsum. Aut earum quis reiciendis debitis suscipit alias earum dignissimos. Vitae quam dignissimos omnis quis recusandae aut ut. Eum soluta rerum non unde temporibus.

Career Advancement Opportunities

December 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 99.0%
  • JPMorgan 01 98.4%
  • Guggenheim Partners 02 97.9%
  • Morgan Stanley 06 97.4%

Overall Employee Satisfaction

December 2026 Investment Banking

  • Moelis & Company No 99.5%
  • Morgan Stanley 02 99.0%
  • Evercore 01 98.4%
  • Banco Santander 04 97.9%
  • Bank of America Merrill Lynch 06 97.4%

Professional Growth Opportunities

December 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 99.0%
  • Morgan Stanley 03 98.4%
  • Goldman Sachs 01 97.9%
  • JPMorgan No 97.4%

Total Avg Compensation

December 2026 Investment Banking

  • Vice President (17) $409
  • Associates (60) $262
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (29) $183
  • Intern/Summer Associate (16) $161
  • 1st Year Analyst (86) $152
  • Intern/Summer Analyst (77) $101
notes
16 IB Interviews Notes

“... there’s no excuse to not take advantage of the resources out there available to you. Best value for your $ are the...”

Leaderboard

1
redever's picture
redever
99.2
2
BankonBanking's picture
BankonBanking
99.0
3
kanon's picture
kanon
99.0
4
Secyh62's picture
Secyh62
99.0
5
dosk17's picture
dosk17
98.9
6
DrApeman's picture
DrApeman
98.9
7
CompBanker's picture
CompBanker
98.9
8
Betsy Massar's picture
Betsy Massar
98.9
9
GameTheory's picture
GameTheory
98.9
10
Jamoldo's picture
Jamoldo
98.8
success
From 10 rejections to 1 dream investment banking internship

“... I believe it was the single biggest reason why I ended up with an offer...”