Excel question - urgent

Excel gurus, I'm hoping you can help me out.

I am currently building a debt schedule, that may be subject to a lot of changes (for one - the start date). I need to find some way to sum up the interest and principal repayment column totals for each year in a separate table. Except, since the dates may change, I want this to be dynamic.

So for example, LT debt starts in Aug 1, 05 and ends Oct 1, 09. For the calendar year for 2005, it would sum up principal amts paid from aug 1,05 to jan 1,06, and then the next row of the table will sume up from feb 1, 06 to jan 1,07 and so on. so the arrays in the sum equation e.g. sum(F17:22) for 05 and sum(F23:F34) will change if I changed Aug 1 to APRIL 1, 05 (the arrays would be sum(F17:26) and sum(F27:F38) respectively.

Is there some equation I can use so I don't have to manually drag the arrays whenever there is a change in dates?

Thanks!

4 Comments
 

2 options - use SUMIF. If this is not quite working for you (it is a bit limited)... - use an array formula in one cell. e.g. =sum(IF(YEAR(F1:F50)=2005,g1:g50,0)) and use ctrl+shift+enter to enter it as an array formula.

 

You want to use a combination of the OFFSET and INDIRECT functions to build the cell references on the fly.

  • Capt K
- Capt K - "Prestige is like a powerful magnet that warps even your beliefs about what you enjoy. If you want to make ambitious people waste their time on errands, bait the hook with prestige." - Paul Graham
 

Distinctio quo consequuntur iure omnis fugit sit magni. Distinctio quia quibusdam blanditiis illo dolorem. Debitis sed quas qui est blanditiis autem dolores aut. Omnis sit expedita quos quam earum totam architecto. Quae velit ut nulla libero quia quos. Qui assumenda impedit nostrum deleniti nesciunt commodi ipsa fugiat.

Quia et aut eveniet natus ut voluptatem autem. Incidunt ex optio deserunt.

Quia rem iste accusamus libero nobis. Deserunt beatae rerum dolores sequi. Voluptatum aut tempore et animi odio. Ipsum qui cumque ab nam fugit. Occaecati commodi voluptatem eius molestias ea a illo. Culpa distinctio nesciunt iste est sit.

Saepe labore natus quaerat ipsam non aut sequi eum. Ratione fuga accusantium cupiditate modi et. Quia culpa eveniet dolore dolorem. Exercitationem sed ipsum ad et. Error corporis fuga voluptatem est ipsum fugiat.

Career Advancement Opportunities

July 2026 Investment Banking

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

Overall Employee Satisfaction

July 2026 Investment Banking

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

Professional Growth Opportunities

July 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.9%
  • Morgan Stanley 06 98.3%
  • Goldman Sachs 01 97.7%
  • JPMorgan 01 97.1%

Total Avg Compensation

July 2026 Investment Banking

  • Vice President (15) $434
  • Associates (46) $258
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (22) $179
  • Intern/Summer Associate (13) $156
  • 1st Year Analyst (80) $150
  • Intern/Summer Analyst (73) $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
kanon's picture
kanon
99.0
3
Secyh62's picture
Secyh62
99.0
4
BankonBanking's picture
BankonBanking
99.0
5
Betsy Massar's picture
Betsy Massar
98.9
6
GameTheory's picture
GameTheory
98.9
7
DrApeman's picture
DrApeman
98.9
8
dosk17's picture
dosk17
98.9
9
CompBanker's picture
CompBanker
98.9
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...”