S
Sean
I have a need to update YTD sum of a range monthly.
Current setup as follows:
A B C D E F G H Z
1 Jan Feb Mar Apr May Jun JulOL AugOL ...YTDJun
2 a2 b2 c2 d2 e2 f2 g2 h2 z2
3 a3 b3 c3 d3 e3 f3 g3 h3 z3
where cell z2 have formula YTD(Jun)= SUM(A2:F2)
Each month, as I change Outlook numbers to actual numbers,
I need to update the YTD formula to reflect correct range,
e.g. for July, I would change G1 from JulOL to Jul and
update cell g2,g3 etc accordingly with new figures. For
cell Z2, I will then change the sum range to a2:g2 and
cell z3 with corresponding range a3:g3 (by copy/paste cell
z2)
How can I accomplish this without copying and pasting to
each z(row number) cell the new formula range but instead
automate it based on the MONTH (ie if Jan, just range a
(row no.):a(row no.); if Mar, range a(row number):c(row
number) etc)?
Current setup as follows:
A B C D E F G H Z
1 Jan Feb Mar Apr May Jun JulOL AugOL ...YTDJun
2 a2 b2 c2 d2 e2 f2 g2 h2 z2
3 a3 b3 c3 d3 e3 f3 g3 h3 z3
where cell z2 have formula YTD(Jun)= SUM(A2:F2)
Each month, as I change Outlook numbers to actual numbers,
I need to update the YTD formula to reflect correct range,
e.g. for July, I would change G1 from JulOL to Jul and
update cell g2,g3 etc accordingly with new figures. For
cell Z2, I will then change the sum range to a2:g2 and
cell z3 with corresponding range a3:g3 (by copy/paste cell
z2)
How can I accomplish this without copying and pasting to
each z(row number) cell the new formula range but instead
automate it based on the MONTH (ie if Jan, just range a
(row no.):a(row no.); if Mar, range a(row number):c(row
number) etc)?