Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have values for Jan - Dec and need to sum them by quarter on another sheet.
When I try to drag the formula across for Q2, Q3, and Q4, it won't grab the corresponding months, instead it takes the consecutive numbers and sums them. How can I fix this? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The easiest solution is probably just to type the correct formula in the
cells for Q2 etc. Another solution is a follows: Suppose your month data is in Cells A2:L2 Q1, in A4 is =SUM(A2:C2) Copy A4 to D4. Then drag D4 to B4. Art "vmagal1" wrote: I have values for Jan - Dec and need to sum them by quarter on another sheet. When I try to drag the formula across for Q2, Q3, and Q4, it won't grab the corresponding months, instead it takes the consecutive numbers and sums them. How can I fix this? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Assuming your source spreadsheet starts from A1 and is something like:
Month.....Value Jan.........10 Feb.........18 Mar.........17 etc. Also assuming your target starts from A1 and is something like: Quarter.....TotalValue Q1............45 Q2............etc. Then, a formula that you can apply for Q1, and which can be dragged down is: =SUM(OFFSET('Sheet1'!$A$1,(RIGHT(A2,1)-1)*3+1,0,3,)) HTH Kostis Vezerides |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why "datedif" function results sometimes negative numbers? | Excel Worksheet Functions | |||
Formula for current month minus one = Quarter number in a macro. | Excel Discussion (Misc queries) | |||
Formula to fill inthe Quarter | New Users to Excel | |||
How to fill colour in Excel, it appers No fill in my computer? | Excel Discussion (Misc queries) | |||
Fill in missing months | Excel Discussion (Misc queries) |