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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|