Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default HOW CAN I PROTECT A FORMULA IN EXCEL

I have 2 questions. I have a formula in a cell and want to copy it to an
adjacent cell without the formula changing based on the cell location. Ex:
In A1 I have the formula =M1+T1, when I copy this to B1 it changes the
formula to N1+U1, if I copy it to A2 it changes it to M2+T2. How can I copy
the cell without changing the formula ?
My second question is I have a cell with the formula =D1. When I drag or cut
another cell into D1 it changes the formula to =#REF!. Is there a way to
maintain the original formula of =D1 ?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default HOW CAN I PROTECT A FORMULA IN EXCEL

Hi Kingsley,

Use the function key F4 when typing your formula in order to get
absolute references,
such as =$M$1+$T$1 or =$D$1 ...

HTH
Cheers
Carim

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default HOW CAN I PROTECT A FORMULA IN EXCEL

Thank you. This worked for the first problem, but not for the second. When I
drag another cell, or cut a cell and paste it, into the referenced cell it
still changes the formula to #REF!

" wrote:

Hi Kingsley,

Use the function key F4 when typing your formula in order to get
absolute references,
such as =$M$1+$T$1 or =$D$1 ...

HTH
Cheers
Carim


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default HOW CAN I PROTECT A FORMULA IN EXCEL

Try this:

=INDIRECT("D1")

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Kingsley" wrote in message
...
Thank you. This worked for the first problem, but not for the second. When

I
drag another cell, or cut a cell and paste it, into the referenced cell it
still changes the formula to #REF!

" wrote:

Hi Kingsley,

Use the function key F4 when typing your formula in order to get
absolute references,
such as =$M$1+$T$1 or =$D$1 ...

HTH
Cheers
Carim



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default HOW CAN I PROTECT A FORMULA IN EXCEL

In front of the constant cell value place the dollar sign in your formula.

example:
$M1+$T1

to totally fix the formula:
$M$1+$T$1

"Kingsley" wrote:

I have 2 questions. I have a formula in a cell and want to copy it to an
adjacent cell without the formula changing based on the cell location. Ex:
In A1 I have the formula =M1+T1, when I copy this to B1 it changes the
formula to N1+U1, if I copy it to A2 it changes it to M2+T2. How can I copy
the cell without changing the formula ?
My second question is I have a cell with the formula =D1. When I drag or cut
another cell into D1 it changes the formula to =#REF!. Is there a way to
maintain the original formula of =D1 ?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default HOW CAN I PROTECT A FORMULA IN EXCEL

Thank you, this worked great!! I have an additional question, When I drag a
new cell into the referenced cell a box pops up and asks me if I want to
replace the contents of the destination cell and I have to click yes or
cancel. Is there a way to turn this off so the update is automatic ?

"Ragdyer" wrote:

Try this:

=INDIRECT("D1")

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Kingsley" wrote in message
...
Thank you. This worked for the first problem, but not for the second. When

I
drag another cell, or cut a cell and paste it, into the referenced cell it
still changes the formula to #REF!

" wrote:

Hi Kingsley,

Use the function key F4 when typing your formula in order to get
absolute references,
such as =$M$1+$T$1 or =$D$1 ...

HTH
Cheers
Carim




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default HOW CAN I PROTECT A FORMULA IN EXCEL

Try this:

<Tools <Options <Edit tab,
And *UNCHECK* the obvious:
"Alert Before Overwriting Cells"

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Kingsley" wrote in message
...
Thank you, this worked great!! I have an additional question, When I drag

a
new cell into the referenced cell a box pops up and asks me if I want to
replace the contents of the destination cell and I have to click yes or
cancel. Is there a way to turn this off so the update is automatic ?

"Ragdyer" wrote:

Try this:

=INDIRECT("D1")

--
HTH,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"Kingsley" wrote in message
...
Thank you. This worked for the first problem, but not for the second.

When
I
drag another cell, or cut a cell and paste it, into the referenced

cell it
still changes the formula to #REF!

" wrote:

Hi Kingsley,

Use the function key F4 when typing your formula in order to get
absolute references,
such as =$M$1+$T$1 or =$D$1 ...

HTH
Cheers
Carim





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
Convert Excel 4 formula to Excel 2003 format The Gasell Excel Worksheet Functions 3 April 12th 06 05:07 PM
Recurring Excel Formula error - multiple users affected! Rayo K Excel Discussion (Misc queries) 3 April 11th 06 02:22 PM
Excel 97 formula doesn't work in Excel 2003 [email protected] Excel Discussion (Misc queries) 2 April 4th 06 09:34 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
converting formula from lotus.123 to excel zaharah Excel Worksheet Functions 2 July 27th 05 03:04 PM


All times are GMT +1. The time now is 01:08 PM.

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

About Us

"It's about Microsoft Excel"