There is a significant issue with this and that's that you have a pivot table for the dates but the rest of your data doesn't seem to be part of that table. This means when you apply the filter, it hides only the date rows, leaving the others untouched. It would be better to have a filter applied to your original table of data, along with dates.
As for the formula, the best way that I can see to do it, without VBA anyway, is to have a helper column that you can hide, such as
in D2, copied down. The formula in the message box could simply be =D16. There's the possibility, however, that if your spreadsheet is fairly large, that you'll run up against Excel's 32,767 character limit per cell. If that is the case, you'll need someone to write a VBA script for you.
Bookmarks