I have a list of dates (including previous, current, and future weeks) and there is a number associated with each date. Example:
I want to add 'x' in front of all the values belonging to dates from previous or future weeks. Only values associated with dates from the current week should remain unchanged (i.e. without 'x'). Also, this should get updated automatically as the date shifts to next week and so on. So considering the current week's date range is from Mon, Jul 4 to Fri, Jul 8 - the expected output should look like this:
Any help/suggestions on this?