Constructing a cel calculation from a string
The table in question has header columns with descriptive names (e.g., "budgetDaily") for the (almost entirely numerical) cells in those columns). The header rows are incremented dates (e.g., row 2316: Monday 5/26/2025; row 2317: Tuesday 5/27/2025).
Many of the cells are calculated using header column and header row name and dates (e.g., spentDay 'Monday 5/26/25'−budgetDaily 'Monday 5/26/25' ).
I would like to make things more efficient by adding some constants cells that I (manually) modify at the beginning of the next cycle, and then set the values of various calculations based on those constants.
In order to do that, I'm thinking I need to construct text strings that are 'turned into' cell references.
In an example where the calculation is:
spentDay 'Monday 5/26/25'−budgetDaily 'Monday 5/26/25'
I can enter that as text in a cell, but then I believe I need to encapsulate that string in another function to make it a 'workable' cell calculation. I looked in the Function category of Reference, but didn't spot something that would work. If I can get this to work, then I can reference those constant cells from the cells in the block.
I also tried using CONCAT to get the string built, but then realized that adds no value vs. just entering the calculation as a string in a cel:
CONCAT("spentDay" & " 'Monday 5/26/25'" & "−" & "budgetDaily" & " 'Monday 5/26/25'")
… yields the exact calculation I'm after:
spentDay 'Monday 5/26/25'−budgetDaily 'Monday 5/26/25'
Ideas?
--
I don't think the following is necessary to address my question, but I'm including it in case the extra context helps:
The table involves calculations for a given period of time, from a start row, to an end row (a couple of weeks after the start row, give or take some days, depending on the start and end cycle dates.
I have a separate sheet to use for reference for making the changes in the next two sentences.
When one cycle ends, I copy a block of cells from the cycle that just ended, paste to the next cycle (and add or delete rows, if necessary for the block to fit the next cycle.
I then modify some of the referenced celsl in the new cycle, and use 'fill down' from the first row of the new cycle to the last day of that cycle.
MacBook Pro 14″