Query - Date parameters in more than one column

oni1983

New Member
Joined
Jul 9, 2015
Messages
25
I have a query in which I have generated 6 columns containing different dates. I created 6 columns as I need to distinguish between each column (ie. Column 1 refers to 1st visit, up to 6 visits).

Now I would like to know if I can use parameters to bring up all visits planned for a particular month. The parameter worked when I inputted it in the column of the 1st visit but when I repeated the parameter for all 6 columns it went bonkers and all visits, regardless of the month were displayed.

Can this be done?
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
It sounds like what you have is a design issue, that is causing things to be harder than they have to be, namely, your data is not normalized.
You shouldn't have repeating data like that in a single record. How you should set it up is only have one field per record with visit number, and then one for visit date.
So instead of having what you have, you would have six records of data for your six visits.
Then, when you search by date, you are only searching one field, not six.
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,602
Members
449,089
Latest member
Motoracer88

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
Back
Top