![]() |
![]() |
|
|||||||
| 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 |
|
New Member
Join Date: Feb 2002
Location: Australia
Posts: 41
|
I there anyway to insert a column and not have a formula change.
Ie I have a formula that says sum all of the values from $B$1 to $D$1. If I then insert a column at column B, the forumla changes to sum($C$1:$E$1). Can I get this to stay as sum($B$1:$D$1)? |
|
|
|
|
|
#2 |
|
Guest
Posts: n/a
|
=SUM(INDIRECT("B1"):INDIRECT("D1"))
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Allentown, PA
Posts: 2,512
|
You can also use named ranges for the cells that you're summing instead of the absolute refs.
__________________
~Anne Troy |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|