fix a cell

G2K

Active Member
Joined
May 29, 2009
Messages
355
Hi,

I want to freege a cell by the value entered in last cell i.e. left adjucent cell, and i want this value fix even i drag to right like

<TABLE dir=ltr borderColor=#000000 cellSpacing=0 cellPadding=2 width=156 border=1><TBODY><TR><TD width="19%" height=6>
c2​
</TD><TD width="23%" height=6>
d2​
</TD><TD width="19%" height=6>
e2​
</TD><TD width="19%" height=6>
f2​
</TD><TD width="19%" height=6>
g2​
</TD></TR><TR><TD width="19%" height=6>
25​
</TD><TD width="81%" colSpan=4 height=6>
formula to acess c2 and fix it​
</TD></TR></TBODY></TABLE>

if i drag this formula to it's right adjucent cell, value will remain same

thanks
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Hi,

I want to freege a cell by the value entered in last cell i.e. left adjucent cell, and i want this value fix even i drag to right like

<TABLE dir=ltr border=1 cellSpacing=0 borderColor=#000000 cellPadding=2 width=156><TBODY><TR><TD height=6 width="19%">c2
</TD><TD height=6 width="23%">d2
</TD><TD height=6 width="19%">e2
</TD><TD height=6 width="19%">f2
</TD><TD height=6 width="19%">g2
</TD></TR><TR><TD height=6 width="19%">25
</TD><TD height=6 width="81%" colSpan=4>formula to acess c2 and fix it

</TD></TR></TBODY></TABLE>​

if i drag this formula to it's right adjucent cell, value will remain same

thanks

Do you mean something like:

=INDIRECT("C2")
 
Upvote 0
yes, but i don't want to use absolute reference as i an using macro to insert columns. if i use indirect it always use C2, even there is 5 columns inserted inbetween.

is there any other way to fix .....
 
Upvote 0
yes, but i don't want to use absolute reference as i an using macro to insert columns. if i use indirect it always use C2, even there is 5 columns inserted inbetween.

is there any other way to fix .....

Perhaps I'm not understanding what you mean by "fix a cell"...

Does...

=INDEX(C:C,2)

do what you need?
 
Upvote 0
Thanks Aladin,

I got the formula

Offset(c1,1,-1)

thanks again for your time and support
 
Upvote 0
i have entered this formula in cell c1 itself and it's working

=OFFSET(c1,0,-1)
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,393
Members
449,081
Latest member
JAMES KECULAH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top