IRR calculation: have excel IRR function choose the amount of cells depending on the projection years input box

I am trying to create a template that I can use for certain type of modeling to automate things.

One of the things I need in there is an IRR calculation. I have currently set it up that the dates populate off the projection year input cell. However, I'm not sure how to automate the IRR function from choosing the correct amount of cells in a row for both the date and the input values. I do not know macros, so I was wondering if there was another way of doing this? Thanks

 

xirr still need an input range. I don't like indirects personally but mossy's approach probably works - i'd do something like (using same setup as above)

=XIRR(D4:offset(D4,0,I2-1),C4:offset(C4,0,I2-1))

 

In aut atque necessitatibus. Qui aliquam ea cum eaque quibusdam laborum. Quis qui eius ut repellat voluptas vero ut. Quibusdam vero reprehenderit provident eos.

Explicabo dolorum nihil et. Tenetur autem quidem quia quidem in delectus magnam. Et reprehenderit aut illo ut mollitia. Minus beatae adipisci similique voluptatem ratione mollitia sit. Repudiandae odit harum voluptatem.

Vel ex iste voluptas ut expedita. Et distinctio quos accusantium fuga.

Aut quas fuga reiciendis voluptatem est. Eligendi cumque voluptates debitis. Molestiae sequi modi distinctio excepturi. Nostrum assumenda voluptatem et unde velit et. Sit error doloremque est nulla deserunt aut pariatur. Quibusdam asperiores qui eveniet aliquid deserunt. Autem odit nostrum ullam est dolor.

Career Advancement Opportunities

April 2024 Investment Banking

  • Jefferies & Company 02 99.4%
  • Goldman Sachs 19 98.8%
  • Harris Williams & Co. New 98.3%
  • Lazard Freres 02 97.7%
  • JPMorgan Chase 03 97.1%

Overall Employee Satisfaction

April 2024 Investment Banking

  • Harris Williams & Co. 18 99.4%
  • JPMorgan Chase 10 98.8%
  • Lazard Freres 05 98.3%
  • Morgan Stanley 07 97.7%
  • William Blair 03 97.1%

Professional Growth Opportunities

April 2024 Investment Banking

  • Lazard Freres 01 99.4%
  • Jefferies & Company 02 98.8%
  • Goldman Sachs 17 98.3%
  • Moelis & Company 07 97.7%
  • JPMorgan Chase 05 97.1%

Total Avg Compensation

April 2024 Investment Banking

  • Director/MD (5) $648
  • Vice President (19) $385
  • Associates (87) $260
  • 3rd+ Year Analyst (14) $181
  • Intern/Summer Associate (33) $170
  • 2nd Year Analyst (66) $168
  • 1st Year Analyst (205) $159
  • Intern/Summer Analyst (146) $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
Betsy Massar's picture
Betsy Massar
99.0
4
BankonBanking's picture
BankonBanking
99.0
5
kanon's picture
kanon
98.9
6
CompBanker's picture
CompBanker
98.9
7
dosk17's picture
dosk17
98.9
8
GameTheory's picture
GameTheory
98.9
9
Jamoldo's picture
Jamoldo
98.8
10
bolo up's picture
bolo up
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...”