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
 

Temporibus deserunt quo dolor magnam facilis. Voluptas eveniet consectetur rem minus reiciendis sit officia sed. Error et perspiciatis repellendus quis.

Excepturi quo sed pariatur commodi. Libero occaecati et consequatur ducimus est perferendis. Nesciunt qui inventore consequatur neque cupiditate dolorem. Vero iusto nihil tempora aspernatur itaque similique laudantium.

Career Advancement Opportunities

June 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.8%
  • JPMorgan 01 98.2%
  • Guggenheim Partners 01 97.7%
  • Morgan Stanley 07 97.1%

Overall Employee Satisfaction

June 2026 Investment Banking

  • Moelis & Company No 99.4%
  • Morgan Stanley 01 98.8%
  • Evercore 01 98.2%
  • BMO Capital Markets 12 97.6%
  • Banco Santander 01 97.1%

Professional Growth Opportunities

June 2026 Investment Banking

  • Moelis & Company No 99.4%
  • Evercore No 98.8%
  • Morgan Stanley 05 98.2%
  • JPMorgan No 97.7%
  • BMO Capital Markets 12 97.1%

Total Avg Compensation

June 2026 Investment Banking

  • Vice President (14) $434
  • Associates (43) $259
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (22) $179
  • Intern/Summer Associate (13) $156
  • 1st Year Analyst (75) $151
  • Intern/Summer Analyst (67) $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
Secyh62's picture
Secyh62
99.0
3
BankonBanking's picture
BankonBanking
99.0
4
kanon's picture
kanon
99.0
5
dosk17's picture
dosk17
98.9
6
CompBanker's picture
CompBanker
98.9
7
DrApeman's picture
DrApeman
98.9
8
GameTheory's picture
GameTheory
98.9
9
Betsy Massar's picture
Betsy Massar
98.9
10
Linda Abraham's picture
Linda Abraham
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...”