I know this question has been asked all over the web, but I have a unique case that hasn't been referenced elsewhere from the research I've done and could use some expertise.
I have a spreadsheet based on the data/columns below. The idea is to allow an individual to build an initial schedule based on various actions items, but the primary dates/anchors are based on events (i.e. build the initial schedule, and then use the built schedule to produce dates when this scenario of events and action items need to be run again).
When someone chooses "Event" from the Type drop-down/DV list, they then enter an event name in Column B (Event Name), and the date in Column E (Date). They can then reference that event in Column C (Connected Event) which is another DV list that reads from a helper sheet - the helper sheet does a VLOOKUP for all rows with the Event type, and the concatenates the event name and date. They can then enter a negative or positive number for other actions/rows under Column D (Days Before/After) which will automatically calculate the date of that action item.
I have a named range that I'm using to produce the DV List for the Connected Event column.
The problem is that event dates will shift, and DV lists don't automatically update cell values, meaning that the date calculations won't automatically update, requiring the user to manually update the Column C's connected events to calculate the new values. I've seen some VBA references to auto-update the cell values, but these all assume that the original DV list is being manually updated by a user, and isn't being produced by formulas..
In my case, the DV list is produced dynamically through the named range, and the following formula in column C of the helper sheet:
I have not found any examples of how to detect a value change and then have the DV List cell values also update automatically. I am open to any/all suggestions.
I have a spreadsheet based on the data/columns below. The idea is to allow an individual to build an initial schedule based on various actions items, but the primary dates/anchors are based on events (i.e. build the initial schedule, and then use the built schedule to produce dates when this scenario of events and action items need to be run again).
When someone chooses "Event" from the Type drop-down/DV list, they then enter an event name in Column B (Event Name), and the date in Column E (Date). They can then reference that event in Column C (Connected Event) which is another DV list that reads from a helper sheet - the helper sheet does a VLOOKUP for all rows with the Event type, and the concatenates the event name and date. They can then enter a negative or positive number for other actions/rows under Column D (Days Before/After) which will automatically calculate the date of that action item.
I have a named range that I'm using to produce the DV List for the Connected Event column.
The problem is that event dates will shift, and DV lists don't automatically update cell values, meaning that the date calculations won't automatically update, requiring the user to manually update the Column C's connected events to calculate the new values. I've seen some VBA references to auto-update the cell values, but these all assume that the original DV list is being manually updated by a user, and isn't being produced by formulas..
In my case, the DV list is produced dynamically through the named range, and the following formula in column C of the helper sheet:
Excel Formula:
=IF(A1="","",CONCAT(A1,", ",TEXT(B1,"mm/dd/yyyy")))
I have not found any examples of how to detect a value change and then have the DV List cell values also update automatically. I am open to any/all suggestions.
Type (DV List) | Event Name | Connected Event (DV List) | Days Before/After | Date |
Event | Some Event | 1/1/2023 | ||
Event | Some Other Event | 7/15/2023 | ||
Some Action | Some Other Event - 7/15/2023 | 2 | 7/17/2023 |