![]() |
|
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: Mar 2004
Posts: 2
|
i've one question about copy a formula:
In cel D14 i've got this formula: "=Sum(A1:A5), now i copy (with mouse)this form to D15, and in D15 the formula is "=Sum(A2:A6) and i want this formula =Sum(B1:B5) is it possible?? Thanks, Gfr |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: May 2003
Posts: 8,445
|
Hi,
You could try changing the formula in D14 to =SUM(OFFSET($A$1,0,ROW()-14,5))
__________________
"Fair Winds and Following Seas" |
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 39,332
|
Quote:
=SUM(OFFSET($A$1,0,ROW()-ROW($D$14),5)) |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|