Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
John - Menifee, CA
 
Posts: n/a
Default How do I lock cell formulas???

For example, formaula is cell C1 adds cell A1 and B1. If I insert column
between B1 and C1, the formule will shift to D1. How do I make D1 formula add
cells B1 and C1 automatically. D1 currently will continue to add A1 and B1.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Elkar
 
Posts: n/a
Default How do I lock cell formulas???

You could use the OFFSET fuction.

In C1 enter:
=OFFSET(C1,0,-1)+OFFSET(C1,0,-2)

This adds the cells that are 1 column and 2 columns to the left of C1. When
you insert a column, the formula will be moved to D1, but still add the cells
that are 1 and 2 columns to the left.

HTH,
Elkar


"John - Menifee, CA" wrote:

For example, formaula is cell C1 adds cell A1 and B1. If I insert column
between B1 and C1, the formule will shift to D1. How do I make D1 formula add
cells B1 and C1 automatically. D1 currently will continue to add A1 and B1.

  #3   Report Post  
Posted to microsoft.public.excel.misc
John - Menifee, CA
 
Posts: n/a
Default How do I lock cell formulas???

Thanks. Never used that fuction before. Still learning.

"Elkar" wrote:

You could use the OFFSET fuction.

In C1 enter:
=OFFSET(C1,0,-1)+OFFSET(C1,0,-2)

This adds the cells that are 1 column and 2 columns to the left of C1. When
you insert a column, the formula will be moved to D1, but still add the cells
that are 1 and 2 columns to the left.

HTH,
Elkar


"John - Menifee, CA" wrote:

For example, formaula is cell C1 adds cell A1 and B1. If I insert column
between B1 and C1, the formule will shift to D1. How do I make D1 formula add
cells B1 and C1 automatically. D1 currently will continue to add A1 and B1.

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
Changing cell references in formulas to names and back again. Aaron Excel Discussion (Misc queries) 4 April 25th 06 11:12 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Dates of a Day for a month & year cell formulas mikeburg Excel Discussion (Misc queries) 2 December 29th 05 10:14 PM
How to lock a row in a spreadsheet based on the value in a cell Prasad Excel Worksheet Functions 3 December 16th 05 05:18 PM
Problem with formulas changing cell reference janicesweet Excel Discussion (Misc queries) 1 August 2nd 05 06:23 PM


All times are GMT +1. The time now is 05:45 AM.

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

About Us

"It's about Microsoft Excel"