Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Find if a cell contains one of series of data

Hello,



I would appreciate a bit of help...

I have a column of 1000 email addresses say from A1:A1000

I have a series of text cells in a criteria range D1:D3 with the following
data " .com , .net and .org" That criteria range can be extended with
added data.

I would like to have a formula in column B that would show if the cell in
column A contains one of the items in the criteria range (give the results)
, and advise if not in criteria range

A B C
D
1 .com
..com
2
.org
..net
3
"not in list"
..org
4
.com


Thanks in advance

André


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Find if a cell contains one of series of data

On Sun, 15 Oct 2006 11:47:05 GMT, "Andre Croteau"
wrote:

Hello,



I would appreciate a bit of help...

I have a column of 1000 email addresses say from A1:A1000

I have a series of text cells in a criteria range D1:D3 with the following
data " .com , .net and .org" That criteria range can be extended with
added data.

I would like to have a formula in column B that would show if the cell in
column A contains one of the items in the criteria range (give the results)
, and advise if not in criteria range

A B C
D
1 .com
.com
2
.org
.net
3
"not in list"
.org
4
.com


Thanks in advance

André


The **array** formula:

=IF(ISNA(MATCH(TRUE,NOT(ISERR(FIND(
CritRng,A1))),0)),"not in list",INDEX(CritRng,
MATCH(TRUE,NOT(ISERR(FIND(CritRng,A1))),0)))

should do what you require.

To enter an **array** formula, after pasting or typing it into the formula bar,
hold down <ctrl<shift while hitting <enter. Excel will place braces {...}
around the formula.
--ron
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Find if a cell contains one of series of data

Ron,

Very nice, thank you

André


"Ron Rosenfeld" wrote in message
...
On Sun, 15 Oct 2006 11:47:05 GMT, "Andre Croteau"

wrote:

Hello,



I would appreciate a bit of help...

I have a column of 1000 email addresses say from A1:A1000

I have a series of text cells in a criteria range D1:D3 with the
following
data " .com , .net and .org" That criteria range can be extended with
added data.

I would like to have a formula in column B that would show if the cell in
column A contains one of the items in the criteria range (give the
results)
, and advise if not in criteria range

A B C
D
1 .com
.com
2
.org
.net
3
"not in list"
.org
4
.com


Thanks in advance

André


The **array** formula:

=IF(ISNA(MATCH(TRUE,NOT(ISERR(FIND(
CritRng,A1))),0)),"not in list",INDEX(CritRng,
MATCH(TRUE,NOT(ISERR(FIND(CritRng,A1))),0)))

should do what you require.

To enter an **array** formula, after pasting or typing it into the formula
bar,
hold down <ctrl<shift while hitting <enter. Excel will place braces
{...}
around the formula.
--ron



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Find if a cell contains one of series of data

On Sun, 15 Oct 2006 14:32:13 GMT, "Andre Croteau"
wrote:

Ron,

Very nice, thank you

André


You're welcome. Glad to help.
--ron
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
Record changing cell data into a column or range Emmie Excel Worksheet Functions 2 December 21st 06 12:23 AM
How do I pass series data x-value range to a chart from a cell? Ian Charts and Charting in Excel 1 March 3rd 06 04:10 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
I need a macro to find cut and paste data to new cell Rex Excel Discussion (Misc queries) 0 December 6th 04 12:45 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 04:27 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"