Very very basic Access Question on multiple criteria in Design View

Shales

Board Regular
Joined
Aug 8, 2006
Messages
171
Office Version
  1. 365
Platform
  1. Windows
Hi,

Only just really started dipping my toes into Access.

I have two tables, both of which have email address in them. I need my query to do the following;

Email1
is not null
<> "N/A" (or anything like that, N/a, n/a etc)
<>"NULL"

Email2
is null

I think I need to write all the Email1 criteria's in one line but I am having no luck.

Any help would be grand.

Regards
Gavin
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
the Email1 criteria is written on one line with ANDs in between:
Is Not Null And <>"Null" And <>"n/a"

The Email2 criteria is written on the same line, or on a different line (the difference is on the same line makes it AND and on different line makes it OR)



String comparison is case insensitive so <>"n/a" will include N/A,n/a,N/a,n/A
 
Last edited:
Upvote 0
Thanks very much for the syntax and thanks for the explanation.

Regards
Gavin
 
Upvote 0

Forum statistics

Threads
1,221,821
Messages
6,162,157
Members
451,750
Latest member
pnkundalia

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