Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 740
Default find the phrase with a group of text in a column

Hello all,
In column A filled with text, i need to find the full text which contain a
phrase that is equal to cell B1 and list them all on Column C.
e.g.
A B C
SCRA-PE RAG T.RAGL-OR
T.RAGL-OR BRAG
SCRUB
FRA GILE
BRAG
FLAG


I hope someone can help me with my basics.

--
best regards,

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 740
Default find the phrase with a group of text in a column

e.g.
A B C
SCRA-PE RAG T.RAGL-OR
T.RAGL-OR BRAG
SCRUB
FRA GILE
BRAG
FLAG

--
regards,



"driller" wrote:

Hello all,
In column A filled with text, i need to find the full text which contain a
phrase that is equal to cell B1 and list them all on Column C.
e.g.
A B C
SCRA-PE RAG T.RAGL-OR
T.RAGL-OR BRAG
SCRUB
FRA GILE
BRAG
FLAG


I hope someone can help me with my basics.

--
best regards,

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default find the phrase with a group of text in a column

Pls follow following steps

1) Insert one column before column A. Now column C will become D and insert
again one column before column D. Keep row 1 blank.

Your data will be as follows now

A B C D E
================================ blank row 1
SCRA-PE RAG === row 2
T.RAGL-OR
SCRUB
FRA GILE
BRAG
FLAG
write following formula in cell a2 (I assume that your data is upto row no.
100)

=IF(ISERROR(FIND(C$2,B2)=TRUE),0,MAX(A1:A$1)+1)

copy this formula till the end (i.e. 100th row)

Now write sr. nos 1, 2 3, 4 and so on in column D. Then write following
formula in cell e2 and copy it till end

=VLOOKUP($D2,$A$1:$b$100,2,0)

This will give you result as follows

A B C D E

0 SCRA-PE RAG 1 T.RAGL-OR
1 T.RAGL-OR 2 BRAG
0 SCRUB 3 #N/A
0 FRA GILE 4 #N/A
2 BRAG 5 #N/A
0 FLAG 6 #N/A

Just change the parameter in C2 and see the result




"driller" wrote:

e.g.
A B C
SCRA-PE RAG T.RAGL-OR
T.RAGL-OR BRAG
SCRUB
FRA GILE
BRAG
FLAG

--
regards,



"driller" wrote:

Hello all,
In column A filled with text, i need to find the full text which contain a
phrase that is equal to cell B1 and list them all on Column C.
e.g.
A B C
SCRA-PE RAG T.RAGL-OR
T.RAGL-OR BRAG
SCRUB
FRA GILE
BRAG
FLAG


I hope someone can help me with my basics.

--
best regards,

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 740
Default find the phrase with a group of text in a column

thanks for the reply, i just found this basic formula and it seems to work..
on C1
'=ISNUMBER(SEARCH($b$1,A1))
and the True or false appears, and I do the filtering, same as your
suggestion.

thanks again.
--
regards,



"Prashant Runwal" wrote:

Pls follow following steps

1) Insert one column before column A. Now column C will become D and insert
again one column before column D. Keep row 1 blank.

Your data will be as follows now

A B C D E
================================ blank row 1
SCRA-PE RAG === row 2
T.RAGL-OR
SCRUB
FRA GILE
BRAG
FLAG
write following formula in cell a2 (I assume that your data is upto row no.
100)

=IF(ISERROR(FIND(C$2,B2)=TRUE),0,MAX(A1:A$1)+1)

copy this formula till the end (i.e. 100th row)

Now write sr. nos 1, 2 3, 4 and so on in column D. Then write following
formula in cell e2 and copy it till end

=VLOOKUP($D2,$A$1:$b$100,2,0)

This will give you result as follows

A B C D E

0 SCRA-PE RAG 1 T.RAGL-OR
1 T.RAGL-OR 2 BRAG
0 SCRUB 3 #N/A
0 FRA GILE 4 #N/A
2 BRAG 5 #N/A
0 FLAG 6 #N/A

Just change the parameter in C2 and see the result




"driller" wrote:

e.g.
A B C
SCRA-PE RAG T.RAGL-OR
T.RAGL-OR BRAG
SCRUB
FRA GILE
BRAG
FLAG

--
regards,



"driller" wrote:

Hello all,
In column A filled with text, i need to find the full text which contain a
phrase that is equal to cell B1 and list them all on Column C.
e.g.
A B C
SCRA-PE RAG T.RAGL-OR
T.RAGL-OR BRAG
SCRUB
FRA GILE
BRAG
FLAG


I hope someone can help me with my basics.

--
best regards,

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
Find Character in Text and put value in next column c8tz Excel Worksheet Functions 2 February 2nd 07 12:31 AM
FIND DUPLICATE TEXT IN A COLUMN!!!!!!!!! HERNAN Excel Discussion (Misc queries) 1 October 16th 06 10:38 PM
Group Repeating Text Values in a Column? ConfusedNHouston Excel Discussion (Misc queries) 1 April 25th 06 03:59 PM
Is there a formula to find one phrase in a selection? Tiff1618 Excel Discussion (Misc queries) 4 September 3rd 05 02:01 AM
How to find the duplicate text from a column or from a row? Yohan Excel Discussion (Misc queries) 1 August 15th 05 09:05 AM


All times are GMT +1. The time now is 08:45 PM.

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

About Us

"It's about Microsoft Excel"