ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   dates and pivot tables? (https://www.excelbanter.com/excel-programming/385143-dates-pivot-tables.html)

Mark J

dates and pivot tables?
 
i am using microsoft query to get data from sql table and am trying to get
the last 4 days but not today's data, but this does not seem to work, it will
pull all days,ie...

3/13, 3/12, 3/11, 3/10, 3/9 ,

=getdate()-5 And <getdate(),


i only want;
3/12, 3/11, 3/10, 3/9

any ideas?


All times are GMT +1. The time now is 02:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com