Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Find Item in Other Column and Repeat

Col A Col B
abcd1234 mnop3456
efgh5678 qrst7890
ijkl9012 kkkk1111
mnop3456
qrst7890

Col A already exists and I want to take first item in Col B and search all
of Col A for that item. If it does not exist, return either a "no" or a "0".
If it does exist, I want to know where it is in Col A so I guess that I need
the cell location returned. All returns can be returned to the next column
over next to the item I am searching for Then move to the second item in Col
B and search all of Col A again for that item with same results, Then move to
third item in Col B and so forth.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Find Item in Other Column and Repeat

One way ..

In C1:
=IF(ISNUMBER(MATCH(B1,A:A,0)),"A"&MATCH(B1,A:A,0), "no")
Copy down to last row of data in col B
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Walter" wrote:
Col A Col B
abcd1234 mnop3456
efgh5678 qrst7890
ijkl9012 kkkk1111
mnop3456
qrst7890

Col A already exists and I want to take first item in Col B and search all
of Col A for that item. If it does not exist, return either a "no" or a "0".
If it does exist, I want to know where it is in Col A so I guess that I need
the cell location returned. All returns can be returned to the next column
over next to the item I am searching for Then move to the second item in Col
B and search all of Col A again for that item with same results, Then move to
third item in Col B and so forth.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Find Item in Other Column and Repeat

Thanks! That worked really nice.

"Max" wrote:

One way ..

In C1:
=IF(ISNUMBER(MATCH(B1,A:A,0)),"A"&MATCH(B1,A:A,0), "no")
Copy down to last row of data in col B
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Walter" wrote:
Col A Col B
abcd1234 mnop3456
efgh5678 qrst7890
ijkl9012 kkkk1111
mnop3456
qrst7890

Col A already exists and I want to take first item in Col B and search all
of Col A for that item. If it does not exist, return either a "no" or a "0".
If it does exist, I want to know where it is in Col A so I guess that I need
the cell location returned. All returns can be returned to the next column
over next to the item I am searching for Then move to the second item in Col
B and search all of Col A again for that item with same results, Then move to
third item in Col B and so forth.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Find Item in Other Column and Repeat

welcome. good to hear that.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Walter" wrote in message
...
Thanks! That worked really nice.



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 repeat an item in multiple formulas w/out retyping each Felicity Excel Worksheet Functions 1 May 31st 06 09:28 PM
Can Excel find & sort one item in all the cells in a column? AHSinVT New Users to Excel 3 January 22nd 06 10:24 PM
How do I tell Excel to find the last item in a column? Rodman Excel Discussion (Misc queries) 2 September 8th 05 04:22 AM
How I can print full text bigger than column, in repeat column Prince Excel Discussion (Misc queries) 0 August 11th 05 07:28 PM
find previous row for an item HedwigVB Excel Worksheet Functions 2 March 25th 05 04:49 AM


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