Forum Discussion

Ka_ChunL's avatar
Ka_ChunL
Copper Contributor
Aug 04, 2025
Solved

Excel formula issue - YTD comparison with function Offset

Hi Expertise, I have a problem needed your help.  The following table with 2.5 year data from Jan 2023 to Jun 2025. The table with formula (sum & offset) to calculate the YTD of each year. When I a...
  • HansVogelaar's avatar
    HansVogelaar
    Aug 05, 2025

    Following m_tarler​ 's suggestion, perhaps in N7:

    =SUM(B7:OFFSET(A7,0,COUNT(B$9:M$9)))

    or

    =SUM(OFFSET(B7, 0, 0, 1, COUNT(B$9:M$9)))

    Fill down from N7 to N9.

Resources