Link to home
Start Free TrialLog in
Avatar of thirtywinter
thirtywinterFlag for United States of America

asked on

Cell references

Gents and Ladies,

I'm a little bit embarrassed to ask such a seemingly easy question, but I have somewhat of an issue that is really getting under my skin here.

In one cell I have a straightforward and simple formula (For example: =(F2+G2+H2)/2))

My problem is that when i insert a a column the formula changes to =(G2+H2+I2)/2 regardless of the cell reference being absolute or not.  I would like the formula to always refer to the same cell no matter if I insert a column or not. (In other words, the formula to remain unchanged)

I'm absolutely stymied by this.

Please help.

:)

Thank you.
Avatar of SiddharthRout
SiddharthRout
Flag of India image

For that you have to use Offset formula for example if the above formula is in B2 then you can also use the following

=(OFFSET(B2,0,4,1,1)+OFFSET(B2,0,5,1,1)+OFFSET(B2,0,6,1,1))

Sid
ASKER CERTIFIED SOLUTION
Avatar of SiddharthRout
SiddharthRout
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can also use the INDIRECT function of Excel

=SUM(INDIRECT("F2:H2"))/2

Avatar of thirtywinter

ASKER

Worked like a champ! Thank you very much!

I was starting to wonder if I was loosing my mind or something.