Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default mutiple criterias formula

i need a formula that has multiple criterias.
ei, in the below list i need column b to "Yes" if column a is "blvd, st,
crt" but not "cir ave or crk", otherwise give null value. also, how many
criteria's can one formula have?

A B
blvd yes
st yes
crt yes
cir
ave
st yes
crk
st yes

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default mutiple criterias formula

Try this:

=IF(OR(A1={"blvd","st","crt"}),"Yes","")

Copy down as needed.

how many criteria's can one formula have?


Depends on the particular function and what version of Excel you're using.

The OR function can have up to 30 arguments in versions of Excel prior to
Excel 2007. In Excel 2007 it can have up to 255 arguments.

The above OR function has just a single argument although you might think it
has 3.

If you're asking about "how many" you probably should use some type of
lookup formula but you'd have to give us *all the details*.


--
Biff
Microsoft Excel MVP


"JaneSmith" wrote in message
...
i need a formula that has multiple criterias.
ei, in the below list i need column b to "Yes" if column a is "blvd, st,
crt" but not "cir ave or crk", otherwise give null value. also, how many
criteria's can one formula have?

A B
blvd yes
st yes
crt yes
cir
ave
st yes
crk
st yes



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default mutiple criterias formula

Thank you for the quick response.

"T. Valko" wrote:

Try this:

=IF(OR(A1={"blvd","st","crt"}),"Yes","")

Copy down as needed.

how many criteria's can one formula have?


Depends on the particular function and what version of Excel you're using.

The OR function can have up to 30 arguments in versions of Excel prior to
Excel 2007. In Excel 2007 it can have up to 255 arguments.

The above OR function has just a single argument although you might think it
has 3.

If you're asking about "how many" you probably should use some type of
lookup formula but you'd have to give us *all the details*.


--
Biff
Microsoft Excel MVP


"JaneSmith" wrote in message
...
i need a formula that has multiple criterias.
ei, in the below list i need column b to "Yes" if column a is "blvd, st,
crt" but not "cir ave or crk", otherwise give null value. also, how many
criteria's can one formula have?

A B
blvd yes
st yes
crt yes
cir
ave
st yes
crk
st yes




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default mutiple criterias formula

You're welcome!

--
Biff
Microsoft Excel MVP


"JaneSmith" wrote in message
...
Thank you for the quick response.

"T. Valko" wrote:

Try this:

=IF(OR(A1={"blvd","st","crt"}),"Yes","")

Copy down as needed.

how many criteria's can one formula have?


Depends on the particular function and what version of Excel you're
using.

The OR function can have up to 30 arguments in versions of Excel prior to
Excel 2007. In Excel 2007 it can have up to 255 arguments.

The above OR function has just a single argument although you might think
it
has 3.

If you're asking about "how many" you probably should use some type of
lookup formula but you'd have to give us *all the details*.


--
Biff
Microsoft Excel MVP


"JaneSmith" wrote in message
...
i need a formula that has multiple criterias.
ei, in the below list i need column b to "Yes" if column a is "blvd,
st,
crt" but not "cir ave or crk", otherwise give null value. also, how
many
criteria's can one formula have?

A B
blvd yes
st yes
crt yes
cir
ave
st yes
crk
st yes






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Too many criterias... [email protected] Excel Worksheet Functions 12 June 14th 07 02:42 PM
If Criterias Ricardo Excel Discussion (Misc queries) 3 April 5th 07 01:06 PM
Sum If using 2 criterias Michael Excel Discussion (Misc queries) 10 January 4th 07 11:00 PM
Formula format for Count or Countif funtion with two criterias Debi Excel Worksheet Functions 2 September 26th 05 08:23 PM
Formula requiring two different criterias MJMP Excel Worksheet Functions 8 March 1st 05 10:13 PM


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

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

About Us

"It's about Microsoft Excel"