Access ?

sdc1234

Board Regular
Joined
Mar 17, 2011
Messages
122
I want a search query that where I enter 2 differt dates then all those people within those dates appear on a report.. example: bill, bob, bruce, buckey were gone on vacation from 9/1/11-9/55/12 I want to be able to pop in those dates and have those names pop on a report for me....... any help would be appreciated....


thank you
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
6,884
Office Version
  1. 365
Platform
  1. Windows
In the criteria for your date field try using the Between function

ie. Between #9/1/11# and #9/5/12#
Dates need to be wrapped in hash marks.
 

Pretty1996

Board Regular
Joined
Apr 28, 2010
Messages
100
Additionally, I've used this before Between [Date1] And [Date2]

This gives a little pop up which asks the user to enter the date range manually so it's different each time.

Hope that helps,
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,893
Messages
5,834,273
Members
430,273
Latest member
Windrunner

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top