Oct 09 2023 09:06 AM
Is there a way to move all the daily data up one day if need be? For instance, if it rains, all the work pushes out one day. Does this exist in excel or is there a formula that will allow you to do this?
Oct 09 2023 02:01 PM
I will assume that by "all the daily data" you mean the date values only.
It likely would be difficult for either a formula or VBA code to determine which numeric values are dates _and_ which dates need to be modified (e.g., dates in the past should probably not be modified after a certain interval, but the current date might or might not qualify). An easy technique, without using either formulas or VBA…
If your dates are literals (i.e., they are not the result of formulas), and if you can readily select all of the appropriate dates (e.g., if they are all within one column, and preferably in contiguous cells), you can do this:
And of course, if there are multiple blocks of cells containing dates that you want to increment, you can repeat steps 3 through 5 before continuing with step 6.