Forum Discussion
YashR1994
Jan 22, 2022Copper Contributor
YTD Dynamic Calculation
Hi, I want a help to calculate YTD dynamically in which it should always start calculate from January month only no matter January month falls in which cell or column in a provided range (here i ...
- Jan 22, 2022
1) Make sure that the cell with the formula is not formatted as text.
2) If you use comma as decimal separator, use semicolon in the formula:
=SUM(INDEX(B2:M2;MATCH(1;MONTH(B1:M1);0)):M2)
3) Try confirming the formula with Ctrl+Shift+Enter.
YashR1994
Jan 22, 2022Copper Contributor
HansVogelaar
Jan 22, 2022MVP
1) Make sure that the cell with the formula is not formatted as text.
2) If you use comma as decimal separator, use semicolon in the formula:
=SUM(INDEX(B2:M2;MATCH(1;MONTH(B1:M1);0)):M2)
3) Try confirming the formula with Ctrl+Shift+Enter.
- YashR1994Jan 22, 2022Copper Contributor