I'd like to filter an Excel Pivot Table based on the previous business day. I currently filter it dynamically for 'Yesterday', but that does not help on Mondays. Can this be done?
相关问题
- Excel sunburst chart: Some labels missing
- SQL to Parse a Key-Value String
- Error handling only works once
- Excel formula in VBA code
- Excel VBA run time error 450 from referencing a ra
相关文章
- Get column data by Column name and sheet name
- programmatically excel cells to be auto fit width
- Unregister a XLL in Excel (VBA)
- How to prevent excel from truncating numbers in a
- numeric up down control in vba
- Declare a Range relative to the Active Cell with V
- What's the easiest way to create an Excel tabl
- How to create a hyperlink to a different Excel she
The only way to solve this I can see to write a macro that modifies the date filter in your pivot table. Inside the macro you can easily chech if yesterday was a weekend day to avoid them. You can get familiar with the code you will need by starting a macro recording, changing manually the date, stopping the macro record, and then just open macro code source. Then modify it to analyze the date, and bind the result code to some button. Done.