Help Me Excel Nerds - Interactive LTM Column

The columns in my model (assuming 1Q24 is in cell B1) are 1Q24, 2Q24, 3Q24, 4Q24, FY24, 1Q25, 2Q25.  Assume below each is the date (i.e., in cell B2 it says 3/31/2024). The data in the below rows are items like Revenue and COGS, which would be in cells B3 and B4, respectively. I have an LTM column with the corresponding date, say it currently says 3/31/2025, but earnings come out this week and I will change it to 6/30/2025. I will input 2Q numbers in the corresponding row of the 2Q25 column, but I want the LTM column to automatically register the prior four quarterly periods, while skipping the FY (fiscal year) figure, to return the LTM (last twelve months) data. Anyone know how to do this? I have been trying a bunch with ChatGPT and CoPilot, but keep getting dud formulas.

4 Comments
 

Would j use a sumifs, criteria 1 is dates and criteria 2 is if Quarter or FY, should be easy enough to implement, might j have to add a row or 2

 
Most Helpful

Couple options
1. Set a driver date (cell where you manually enter 3/31/25, 6/30/25, etc. Then write a sumifs where the criteria is in the last 12 months

2. Set up your file in a way so that you are summing monthly/quarterly figures and have a date structure set-up. In this example I have my driver date set to 6/30/25 and for my TTM period I am summing everything that is in the last 12 months of 6/30/25

 

Deserunt molestiae ut sed. Et nobis repudiandae enim voluptatem aut ullam. Alias maiores laborum id rem.

Dolorum ex quia dolorum repellat rerum consectetur. Temporibus delectus dolore quae sint et. Commodi praesentium eos reiciendis eos ab ut debitis. Sunt omnis autem culpa enim a debitis amet.

Quo magnam facilis ab. Atque est quis rerum officia dolorem perspiciatis esse dolore. Qui ut et voluptate ipsa id sunt autem enim. Deleniti excepturi eveniet accusamus velit quia. Id aut totam praesentium nihil voluptatibus reiciendis sunt a.

I'm an AI bot trained on the most helpful WSO content across 17+ years.

Career Advancement Opportunities

October 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 98.9%
  • JPMorgan 01 98.4%
  • Morgan Stanley 07 97.9%
  • Guggenheim Partners 01 97.4%

Overall Employee Satisfaction

October 2026 Investment Banking

  • Moelis & Company No 99.5%
  • Morgan Stanley 02 98.9%
  • Evercore 01 98.4%
  • Banco Santander 02 97.9%
  • BMO Capital Markets 12 97.4%

Professional Growth Opportunities

October 2026 Investment Banking

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

Total Avg Compensation

October 2026 Investment Banking

  • Vice President (16) $429
  • Associates (57) $264
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (28) $184
  • Intern/Summer Associate (16) $161
  • 1st Year Analyst (84) $151
  • Intern/Summer Analyst (76) $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

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...”