Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-12-2024, 05:09 PM
AndiePandie AndiePandie is offline Is there a formula that can "copy" data in one cell and then make it "static"? Windows 11 Is there a formula that can "copy" data in one cell and then make it "static"? Office 2021
Novice
Is there a formula that can "copy" data in one cell and then make it "static"?
 
Join Date: Jan 2024
Posts: 1
AndiePandie is on a distinguished road
Default Is there a formula that can "copy" data in one cell and then make it "static"?

I apologize if this has been answered elsewhere already, but I must be using the wrong words as I cannot seem to find a solution.



I have been creating a "Budget Calendar". In one tab I have a calendar with space in each day for items and their amounts (it is an adaption of an expenses calendar template I found online). In a second tab, I have listed all my regular incomes and expenses. Every time an income or expenses is due on the calendar, it references its appropriate value in the tab with the expected income and expenses. I currently use the INDEX formula to do this. This works fine for now.

My soon-to-be problem is when the expected incomes or costs change (as they might from month to month), if I change the values in the Expected income and costs tab, it updates for all the previous times it has been referenced in the calendar tab. This then ruins my budget, as I have monthly rolling calculations that are then thrown out of whack. I need my formula to copy this data over and make it static and not reference the cell again, sort of how you would in a database that deals with invoices. (As your price for an item changes, you don't want the previous issued invoices to update to new prices as that isn't what was charged at the time).

How might I go about this?

Feedback much appreciated in advance.
Reply With Quote
  #2  
Old 01-13-2024, 01:11 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Is there a formula that can "copy" data in one cell and then make it "static"? Windows 10 Is there a formula that can "copy" data in one cell and then make it "static"? Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Hi and welcome
please post a sample sheet (no pics please) with some data and manually mocked up results. Thx
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 01-13-2024, 05:10 AM
ArviLaanemets ArviLaanemets is offline Is there a formula that can "copy" data in one cell and then make it "static"? Windows 8 Is there a formula that can "copy" data in one cell and then make it "static"? Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

On fly. I'd have in Incomes table a column, where you indicate from which date this entry for this income article is valid (the entry is valid from this date to next entry for same income article (by date), or to current time when there is no more entries for this article. And probably a column, where all table rows are numbered (a formula like =ROW()-X). So every income article can have many rows in Incomes table.
In calendary, you have to use SUMIFS instead of INDEX to get searched values, or to get the row number of income article entry in Incomes table, and then use it in INDEX function.
Reply With Quote
  #4  
Old 01-13-2024, 05:58 PM
Logit Logit is offline Is there a formula that can "copy" data in one cell and then make it "static"? Windows 10 Is there a formula that can "copy" data in one cell and then make it "static"? Office 2007
Expert
 
Join Date: Jan 2017
Posts: 533
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

This requires either the use of keyboard shortcuts ... or using the mouse and clicking menu selections. You can also create a macro that, once the affected cells are selected, will convert all those cells at once.

Not tested here :

Code:
Sub ConvertToValues()

Dim MyRange As Range
Dim MyCell As Range

Select Case

MsgBox("You Can't Undo This Action. " & _
"Save Workbook First?", _
vbYesNoCancel, "Alert")
Case Is = vbYes
ThisWorkbook.Save
Case Is = vbCancel
Exit Sub

End Select

Set MyRange = Selection

For Each MyCell In MyRange
If MyCell.HasFormula Then
MyCell.Formula = MyCell.Value
End If
Next MyCell

End Sub
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailto Hyperlink Formula contains too large of "Body" receiving "#Value" need to find workaround MCamera Excel 1 03-02-2022 07:52 PM
Excel 2003: VBA "Function" causes "#VALUE!" errors after running "insert/delete row" custom macro Matt C Excel Programming 2 01-08-2022 06:03 AM
Conditional function to operate a formula based on "Yes" or "No" Condition Des ONeill Excel 1 07-03-2021 12:17 AM
Condtional function to operate a formula based on "Yes" or "No" Des ONeill Excel 3 07-03-2021 12:16 AM
'Linking' entered information to other "cells" from an original "cell" in MS Word Wade Word 6 09-03-2012 05:22 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:38 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft