Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-11-2018, 01:08 AM
ArviLaanemets ArviLaanemets is offline How to filter between two dates in MS Query criteria when the dates are text ("20180903", etc.) Windows 8 How to filter between two dates in MS Query criteria when the dates are text ("20180903", etc.) Office 2016
Expert
 
Join Date: May 2017
Posts: 949
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

In source are string values instead of dates?



I'm not sure without testing it out, does MS Query use worksheet or VBA syntax in formulas, so you try either
...>= TEXT([enter start date], "yyyymmdd") AND ... <= TEXT([enter end date], "yyyymmdd")
or
...>= FORMAT([enter start date], "yyyymmdd") AND ... <= FORMAT([enter end date], "yyyymmdd")
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
X axis graph all dates when date column contains specific dates..possible ? DBenz Excel 2 03-28-2018 04:59 AM
How to filter between two dates in MS Query criteria when the dates are text (&quot;20180903&quot;, etc.) The "body of text" for all odd-numbered pages are all "vertically-centered-aligned". keepcalmandreadabook Word 5 03-27-2017 04:08 PM
Google "=Filter()" function excel equivalent. Sadodare Excel 0 08-01-2016 11:15 AM
Formula for filter "Incomplete Tasks for User..." patrickd123 Project 1 04-07-2015 08:15 AM
How to filter between two dates in MS Query criteria when the dates are text (&quot;20180903&quot;, etc.) Filter 2 columns between 2 dates s_samira_21 Excel 2 02-08-2015 10:34 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft