Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Stop cell reference in formula changing when insert column?

This is probably very easy but as I don't know what it's called, I'm
not sure how to find out how to do it in the group.

I want to find out how to stop the cell reference in a formula
changing when I insert a column. For example, say I have a formula in
A1 that says =SUM(B1+C1+D1) and in B1 I have 1, C1 I have 2, and D1 I
have 3, so it reads:

A - B - C - D
6 - 1 - 2 - 3

What I want to do is insert a column between C and D so it becomes a
new D and the old D moves to E, but the formula knows the column has
been inserted and changes itself automatically to =SUM(B1+C1+E1). Is
there anyway to stop the formula doing that and to always look at
=SUM(B1+C1+D1) regardless of insert of columns? So that it looks at
the new figure in D and will use that.

Does this make sense?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Stop cell reference in formula changing when insert column?

You can do it this way...

=SUM(INDIRECT("B1:D1"))

Rick


"Bobbie Weeks (Ms)" wrote in message
...
This is probably very easy but as I don't know what it's called, I'm
not sure how to find out how to do it in the group.

I want to find out how to stop the cell reference in a formula
changing when I insert a column. For example, say I have a formula in
A1 that says =SUM(B1+C1+D1) and in B1 I have 1, C1 I have 2, and D1 I
have 3, so it reads:

A - B - C - D
6 - 1 - 2 - 3

What I want to do is insert a column between C and D so it becomes a
new D and the old D moves to E, but the formula knows the column has
been inserted and changes itself automatically to =SUM(B1+C1+E1). Is
there anyway to stop the formula doing that and to always look at
=SUM(B1+C1+D1) regardless of insert of columns? So that it looks at
the new figure in D and will use that.

Does this make sense?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do stop Excel changing column widths when doing pivots? CB Excel Discussion (Misc queries) 1 June 27th 06 08:15 PM
Changing a cell reference within a formula w/another cell tx12345 Excel Worksheet Functions 5 March 7th 06 01:52 AM
stop insert from changing cell reference Peaceful Wisdom Excel Worksheet Functions 1 January 9th 06 06:32 PM
A cell reference in a formula changing knemitz Excel Worksheet Functions 1 February 28th 05 06:10 PM
HOW DO I COPY FORMULA WITHOUT CHANGING CELL REFERENCE anantth Excel Discussion (Misc queries) 4 February 6th 05 12:25 PM


All times are GMT +1. The time now is 09:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"