Fixed cell values

bmcnally

New Member
Joined
Dec 18, 2007
Messages
8
How can i fix a calculated value in a cell? My worksheet calculates the cost of my power consumption from a unit value in another cell. The unit values are set by the provider and may change over time. I would like to keep the calculated historical cost values rather than have all the cost values recalculated when the provider changes the unit values.

Barry McNally
:eeek:
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
You can copy the cell then Edit > Paste Special, tick Values and click OK. This will replace the formula with its value.
 
Upvote 0
Code:
[COLOR="Blue"]Sub[/COLOR] AsValue()
    ActiveCell = ActiveCell
[COLOR="Blue"]End[/COLOR] [COLOR="Blue"]Sub[/COLOR]
 
Upvote 0
Thank you Sector - my worksheet will be used to keep track of my solar power production - hopefully, when finalised I will share it with several family and friends.

Barry McNally
:)
 
Upvote 0

Forum statistics

Threads
1,224,509
Messages
6,179,192
Members
452,893
Latest member
denay

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