Criteria for Query

sellis

New Member
Joined
May 17, 2011
Messages
33
I am sure this is a quick question I am just not grasping. If there is a website to explain how to do this - feel free to just shovel me over there. I have a query where some of the records have a blank in a certain field (call it Union) and some have an entry there. Some of the entries I want, and some I do not. So, I need the blanks and some of the entries. I have tried running my criteria for, "" Not Like U*, to give me the blanks and exclude the two union entries that I do not want which both start with U, but Access (2007) did not like that. It only gave me the one entry that was neither blank nor a U which was an 813 in that field. Any suggestions?
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Nevermind - just got it using Not Null Or Not Like U*. Figured that one out on my own after 30 minutes. Thanks ya'll
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,749
Members
452,940
Latest member
rootytrip

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