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
 

Facere neque non atque quos. Qui qui enim cumque quos similique repellat. Veritatis cupiditate eligendi sapiente et aspernatur aliquid. Et quos veritatis nihil debitis dolorum nobis sequi.

Rerum sit laborum dolorum ut dolores libero deleniti. Eos vitae rem ab.

Career Advancement Opportunities

August 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.9%
  • JPMorgan 01 98.3%
  • Morgan Stanley 08 97.8%
  • Goldman Sachs 02 97.2%

Overall Employee Satisfaction

August 2026 Investment Banking

  • Moelis & Company No 99.4%
  • Evercore No 98.9%
  • Morgan Stanley 01 98.3%
  • Banco Santander 02 97.8%
  • BMO Capital Markets 12 97.2%

Professional Growth Opportunities

August 2026 Investment Banking

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

Total Avg Compensation

August 2026 Investment Banking

  • Vice President (16) $429
  • Associates (48) $259
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (25) $178
  • Intern/Summer Associate (14) $159
  • 1st Year Analyst (83) $151
  • Intern/Summer Analyst (75) $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
CompBanker's picture
CompBanker
98.9
6
GameTheory's picture
GameTheory
98.9
7
dosk17's picture
dosk17
98.9
8
Betsy Massar's picture
Betsy Massar
98.9
9
DrApeman's picture
DrApeman
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...”