Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I want to automate a sum to take account of each month as each month passes.
For example, I have a 'Year to Date' column that I want to automatically update when I change the reporting month, so if I entered 'May' the column would sum the range from Jan to May. Please help. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
One way Assuming you have in B1:M1 the text Jan, Feb ... Dec In cell P1 enter May In cell P2 =SUM($B2:INDEX($B2:$M2,MATCH($P$1,$B$1:$M$1,0))) -- Regards Roger Govier "DC" wrote in message ... I want to automate a sum to take account of each month as each month passes. For example, I have a 'Year to Date' column that I want to automatically update when I change the reporting month, so if I entered 'May' the column would sum the range from Jan to May. Please help. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=SUM(A1:INDEX(A:A,MONTH(TODAY())))
-- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "DC" wrote in message ... I want to automate a sum to take account of each month as each month passes. For example, I have a 'Year to Date' column that I want to automatically update when I change the reporting month, so if I entered 'May' the column would sum the range from Jan to May. Please help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
automatic range - named range give me circular reference... | Excel Discussion (Misc queries) | |||
Excel Addin:Setting the range to the Excel.Range object range prop | Excel Worksheet Functions | |||
Selecting range in list of range names depending on a cell informa | Excel Discussion (Misc queries) | |||
formula to sort a range so that it matches the exact rows of a column that is outside that range? | Excel Discussion (Misc queries) | |||
How to count dates within a certain range in a column with mutiple date range entries | Excel Worksheet Functions |