LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
notsmartenough
 
Posts: n/a
Default How do I enter a date range ie -7 from current date in MS QUERY

I am creating an excel pivot table using external data. I want to include
only records that are equal to current date and past 6 days. In otherwords,
on any day that I run the pivot table I would bet current day + 6 days prior
data. How would I setup the criteria and value cell. I can successfully
specify a criteria field and in the value but = date(now()) and this works
fine for current days data but I am having trouble using the date(now()) -
7. Any suggestions?

Thanks
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
NETWORKDAYS - Multiple Date Selection Annabelle Excel Discussion (Misc queries) 3 October 4th 05 07:04 PM
HOW DO I CHANGE QUERY DATA TO A DATE RANGE? GRABrendan Excel Worksheet Functions 4 September 27th 05 04:43 AM
HELP - Date Range In 1 Cell Calculation Adam Excel Worksheet Functions 6 September 19th 05 08:24 PM
Excel Query Wizard Date Format aldsv Excel Discussion (Misc queries) 1 May 31st 05 12:44 PM
Automatically enter date and time but only update once. PM New Users to Excel 3 January 21st 05 07:47 AM


All times are GMT +1. The time now is 04:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"