How to assign (lock?) a formula to a cell?

alis748

New Member
Joined
Dec 29, 2023
Messages
6
Office Version
  1. 2021
Platform
  1. Windows
Hi excel experts!

I have H66 here that is SUM=(H6:H65). I don't have anything in H6:H65 right now, it's all blank. Is there anyway to assign the SUM=(H6:H65) formula to H66 so that I can delete H66 without deleting the formula? For example, I deleted F66 and the formula got deleted too. I tried googling "locking cell" and it all came back with solutions for locking the formula with a password so the formula cannot be edited - that is not what I want.

I would like all the cells be empty and not filled with $0.00 and only do I fill the table will the cells populate with the SUM value. Is there a way to do that? Thanks!

question.jpg


Alis
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Do you just want to display a blank cell? If so, try:

Excel Formula:
=IF(MIN(1*(H6:H65=""))<>0,"",SUM(H6:H65))
(this requires that all cells H6:H65 are blank. If any are populated then you will get sum.)
 
Upvote 0
Solution

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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