Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
deucer
 
Posts: n/a
Default Using a grouping of cells to check one cell against another...

Hello,
There is a group of 56 cells that contain 3 letter groups (i.e. DCM, DCP,
DCE, NTP).
There is a column of cells that are listed in the following format
(DCELNN010101).

I want to find a way to use an IF statement to say:
IF ("DCELNN010101" contains "Any of the 56 3 letter groups" then return
TRUE, FALSE)

I've been using =IF(ISNUMBER(FIND("DCE",L!B99)),"TRUE", "FALSE") with mild
success. The problem is that I'm limited to using just one of the 3 letter
groups (DCE) at a time. So with that logic I would have to create 56 formulas
for each cell that I wanted to perform this on. No thanks. I want the formula
to check the entire group of 56 groups and return whether that cell contains
any one of the 3 letters.

Thanks!
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi

i'm assuming that your 56 3 letter codes are listed somewhere
(sheet2!A1:A56) and i'm hoping that these three letters are to be found at
the START of your other cells (as in your example), if so you can use the
following formula

=IF(ISNA(VLOOKUP(LEFT(D3,3),Sheet2!A1:A56,1,0)),FA LSE,TRUE)

Cheers
JulieD


"deucer" wrote in message
...
Hello,
There is a group of 56 cells that contain 3 letter groups (i.e. DCM, DCP,
DCE, NTP).
There is a column of cells that are listed in the following format
(DCELNN010101).

I want to find a way to use an IF statement to say:
IF ("DCELNN010101" contains "Any of the 56 3 letter groups" then return
TRUE, FALSE)

I've been using =IF(ISNUMBER(FIND("DCE",L!B99)),"TRUE", "FALSE") with mild
success. The problem is that I'm limited to using just one of the 3 letter
groups (DCE) at a time. So with that logic I would have to create 56
formulas
for each cell that I wanted to perform this on. No thanks. I want the
formula
to check the entire group of 56 groups and return whether that cell
contains
any one of the 3 letters.

Thanks!



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
How do I link many cells to one particular cell? fish@divi Excel Discussion (Misc queries) 2 January 4th 05 11:00 PM
How do I link many cells to one particular cell? justinfishman22 Excel Discussion (Misc queries) 2 January 4th 05 12:09 AM
Heps to design Locked/Unlocked cells in protected worksheet Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:09 AM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 09:17 AM.

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"