A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Outlook » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to create an "OR" condition instead of an "AND" condition



 
 
Thread Tools Display Modes
  #1  
Old May 14th, 2010, 02:48 PM posted to microsoft.public.outlook.general
Robert Judge
external usenet poster
 
Posts: 80
Default How to create an "OR" condition instead of an "AND" condition

In Outlook 2007, I would like to create a filter using an OR condition
instead of an AND condition. For example, I know how to create a filter that
will show me all of my contacts who live in "Boston" AND have the last name
"Smith."

However, I want to create a filter that will show me the contacts that live
in "Boston" OR have the last name of "Smith."

How can I accomplish this? I will appreciate advice.
  #2  
Old May 14th, 2010, 03:48 PM posted to microsoft.public.outlook.general
Bob I
external usenet poster
 
Posts: 10,698
Default How to create an "OR" condition instead of an "AND" condition

Two searches, one for each condition.

Robert Judge wrote:

In Outlook 2007, I would like to create a filter using an OR condition
instead of an AND condition. For example, I know how to create a filter that
will show me all of my contacts who live in "Boston" AND have the last name
"Smith."

However, I want to create a filter that will show me the contacts that live
in "Boston" OR have the last name of "Smith."

How can I accomplish this? I will appreciate advice.


  #3  
Old May 14th, 2010, 06:32 PM posted to microsoft.public.outlook.general
Robert Judge
external usenet poster
 
Posts: 80
Default How to create an "OR" condition instead of an "AND" condition

I don't think this is what I am looking for. In Contacts, I want to choose
View/Current View/Customize Current View/Filter/Advanced/Define More
Criteria:
Then I want to create two filters. One filter would filter in only people
who live in Boston and the second filter would filter in only people with the
last name of Smith. When I apply that view, I would see people who live in
Boston OR have the last name of Smith.

Can I do this? If not, and I must do "two searches" as you suggest, how do
I create those two searches to get the results above?

"Bob I" wrote:

Two searches, one for each condition.

Robert Judge wrote:

In Outlook 2007, I would like to create a filter using an OR condition
instead of an AND condition. For example, I know how to create a filter that
will show me all of my contacts who live in "Boston" AND have the last name
"Smith."

However, I want to create a filter that will show me the contacts that live
in "Boston" OR have the last name of "Smith."

How can I accomplish this? I will appreciate advice.


.

  #4  
Old May 17th, 2010, 12:21 AM posted to microsoft.public.outlook.general
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 232
Default How to create an "OR" condition instead of an "AND" condition

You'll need to activate the hidden Query Builder feature; see
http://www.outlook-tips.net/archives/2004/20040927.htm.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54



"Robert Judge" wrote:

I don't think this is what I am looking for. In Contacts, I want to choose
View/Current View/Customize Current View/Filter/Advanced/Define More
Criteria:
Then I want to create two filters. One filter would filter in only people
who live in Boston and the second filter would filter in only people with the
last name of Smith. When I apply that view, I would see people who live in
Boston OR have the last name of Smith.

Can I do this? If not, and I must do "two searches" as you suggest, how do
I create those two searches to get the results above?

"Bob I" wrote:

Two searches, one for each condition.

Robert Judge wrote:

In Outlook 2007, I would like to create a filter using an OR condition
instead of an AND condition. For example, I know how to create a filter that
will show me all of my contacts who live in "Boston" AND have the last name
"Smith."

However, I want to create a filter that will show me the contacts that live
in "Boston" OR have the last name of "Smith."

How can I accomplish this? I will appreciate advice.


.

  #5  
Old May 17th, 2010, 05:14 PM posted to microsoft.public.outlook.general
Bob I
external usenet poster
 
Posts: 10,698
Default How to create an "OR" condition instead of an "AND" condition

OH, in that case, plug in the 2 criteria on the Advanced tab and then
click SQL tab, check the box for "Edit these criteria directly" and
change the "AND" to "OR".

Robert Judge wrote:

I don't think this is what I am looking for. In Contacts, I want to choose
View/Current View/Customize Current View/Filter/Advanced/Define More
Criteria:
Then I want to create two filters. One filter would filter in only people
who live in Boston and the second filter would filter in only people with the
last name of Smith. When I apply that view, I would see people who live in
Boston OR have the last name of Smith.

Can I do this? If not, and I must do "two searches" as you suggest, how do
I create those two searches to get the results above?

"Bob I" wrote:


Two searches, one for each condition.

Robert Judge wrote:


In Outlook 2007, I would like to create a filter using an OR condition
instead of an AND condition. For example, I know how to create a filter that
will show me all of my contacts who live in "Boston" AND have the last name
"Smith."

However, I want to create a filter that will show me the contacts that live
in "Boston" OR have the last name of "Smith."

How can I accomplish this? I will appreciate advice.


.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:18 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.