Lock a formula in a cell even if the data cell is deleted

joebell30

New Member
Joined
Feb 15, 2020
Messages
6
Office Version
  1. 2010
Platform
  1. Windows
Good Morning,

I'll give you a quick example of what I need to do. This is the only part of my spreadsheet that I cannot figure out. In row 8, I have consecutive hard numbers from 1 to 100, starting in cell C8 ... C8 has 1, D8 has 2, E8 has 3 and on until 100. In Cell A20, I have a simple formula of =C8 and 1 is the result in A20. I want to delete the entire column C and then the digit 2 (which was in D8) is now in C8. Now, I now want 2 to appear in A20 but I am getting an invalid cell reference #REF! because I moved a cell. Is there anyway around this so the formula =C8 always remains in A20? I will continue to delete columns and save the results as a new tab, so A20 will be a different value on each tab. Thanks for your help!
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
How about
Excel Formula:
=INDEX(8:8,3)
 
Upvote 0
Why not just enter the the first hard number into C8 each day and then have D8, E8 etc being a formula to add 1 to the cell to it's left

C8 enter 2
D8 =C8+1
E8 =D8+1
etc
 
Upvote 0
Why not just enter the the first hard number into C8 each day and then have D8, E8 etc being a formula to add 1 to the cell to it's left

C8 enter 2
D8 =C8+1
E8 =D8+1
etc
JimM, Such a simple answer that worked, thank you!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,516
Messages
6,119,978
Members
448,934
Latest member
audette89

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