A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Locking formulas in cells



 
 
Thread Tools Display Modes
  #1  
Old November 10th, 2003, 05:41 PM
Zeina Dahdouh
external usenet poster
 
Posts: n/a
Default Locking formulas in cells

Hello,

I have a problem with locking a formula in a cell. For
example: A1 and B1 contain numbers and C1
contains: "=A1*B2".
I want to lock it so i make the formula in C1: "A$1*B$1"
BUT when i cut A1 and B1 and paste them into A2 and B2,
the formula in C1 will change to: "A$2*B$2"

How do I get cell C1 to stay "A$1*B$1" when i cut cells A1
and B1 and move them?

Thank you
  #2  
Old November 10th, 2003, 06:06 PM
J.E. McGimpsey
external usenet poster
 
Posts: n/a
Default Locking formulas in cells

One way, of many:

C1: =INDIRECT("A1")*INDIRECT("B1")

another:

C1: =OFFSET(C1,0,-2)*OFFSET(C1,0,-1)

a third:

C1: =PRODUCT(INDIRECT("A1:B1"))

a fourth:

C1: =PRODUCT(OFFSET(C1,0,-2,1,2))

In article ,
"Zeina Dahdouh" wrote:

Hello,

I have a problem with locking a formula in a cell. For
example: A1 and B1 contain numbers and C1
contains: "=A1*B2".
I want to lock it so i make the formula in C1: "A$1*B$1"
BUT when i cut A1 and B1 and paste them into A2 and B2,
the formula in C1 will change to: "A$2*B$2"

How do I get cell C1 to stay "A$1*B$1" when i cut cells A1
and B1 and move them?

Thank you

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:36 PM.


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