Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ShareerIslamabadiMunda
 
Posts: n/a
Default Searching text in a cell range

hi there,

i have a problem with Excel. can anyone tell me how can I search a text of
cell in sheet2 in the cell range of sheet1.

suppose that the data in cell A5 of Sheet2 is Scott, and on Sheet1 coulmn D
have a list of names, how can I find the Scott in this case. Also I clear one
thing the list of names are unique there is no duplications in it. so there
will be one and only one Scott.
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
what do you want to do with the '*found value'

--
Regards
Frank Kabel
Frankfurt, Germany
"ShareerIslamabadiMunda" m
schrieb im Newsbeitrag
...
hi there,

i have a problem with Excel. can anyone tell me how can I search a text of
cell in sheet2 in the cell range of sheet1.

suppose that the data in cell A5 of Sheet2 is Scott, and on Sheet1 coulmn
D
have a list of names, how can I find the Scott in this case. Also I clear
one
thing the list of names are unique there is no duplications in it. so
there
will be one and only one Scott.



  #3   Report Post  
Saadi
 
Posts: n/a
Default

i want the found value to be in changed color like red.

"Frank Kabel" wrote:

Hi
what do you want to do with the '*found value'

--
Regards
Frank Kabel
Frankfurt, Germany
"ShareerIslamabadiMunda" m
schrieb im Newsbeitrag
...
hi there,

i have a problem with Excel. can anyone tell me how can I search a text of
cell in sheet2 in the cell range of sheet1.

suppose that the data in cell A5 of Sheet2 is Scott, and on Sheet1 coulmn
D
have a list of names, how can I find the Scott in this case. Also I clear
one
thing the list of names are unique there is no duplications in it. so
there
will be one and only one Scott.




  #4   Report Post  
Saadi
 
Posts: n/a
Default

I want to change the color of found text in Sheet1. Like if A name "Scott" is
founded in Sheet1 then its color in sheet 1 will be RED

"Frank Kabel" wrote:

Hi
what do you want to do with the '*found value'

--
Regards
Frank Kabel
Frankfurt, Germany
"ShareerIslamabadiMunda" m
schrieb im Newsbeitrag
...
hi there,

i have a problem with Excel. can anyone tell me how can I search a text of
cell in sheet2 in the cell range of sheet1.

suppose that the data in cell A5 of Sheet2 is Scott, and on Sheet1 coulmn
D
have a list of names, how can I find the Scott in this case. Also I clear
one
thing the list of names are unique there is no duplications in it. so
there
will be one and only one Scott.




  #5   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
- define a name for D1:D100 on sheet 1 (menu 'Insert - Name - Define). e.g.
call this name 'sourcelist'
- select A5 on sheet 2
- goto 'Format - Conditional Format'
- enter the following formula
=COUNTIF(sourcelist,A5)
- choose your format

--
Regards
Frank Kabel
Frankfurt, Germany
"Saadi" schrieb im Newsbeitrag
...
I want to change the color of found text in Sheet1. Like if A name "Scott"
is
founded in Sheet1 then its color in sheet 1 will be RED

"Frank Kabel" wrote:

Hi
what do you want to do with the '*found value'

--
Regards
Frank Kabel
Frankfurt, Germany
"ShareerIslamabadiMunda"
m
schrieb im Newsbeitrag
...
hi there,

i have a problem with Excel. can anyone tell me how can I search a text
of
cell in sheet2 in the cell range of sheet1.

suppose that the data in cell A5 of Sheet2 is Scott, and on Sheet1
coulmn
D
have a list of names, how can I find the Scott in this case. Also I
clear
one
thing the list of names are unique there is no duplications in it. so
there
will be one and only one Scott.








  #6   Report Post  
Saadi
 
Posts: n/a
Default

thanks Frank Kabel thanks man it realy very helpful for me. you helps a lot.
thanks again.

Saddat Sarfraz
Saadi

"Frank Kabel" wrote:

Hi
- define a name for D1:D100 on sheet 1 (menu 'Insert - Name - Define). e.g.
call this name 'sourcelist'
- select A5 on sheet 2
- goto 'Format - Conditional Format'
- enter the following formula
=COUNTIF(sourcelist,A5)
- choose your format

--
Regards
Frank Kabel
Frankfurt, Germany
"Saadi" schrieb im Newsbeitrag
...
I want to change the color of found text in Sheet1. Like if A name "Scott"
is
founded in Sheet1 then its color in sheet 1 will be RED

"Frank Kabel" wrote:

Hi
what do you want to do with the '*found value'

--
Regards
Frank Kabel
Frankfurt, Germany
"ShareerIslamabadiMunda"
m
schrieb im Newsbeitrag
...
hi there,

i have a problem with Excel. can anyone tell me how can I search a text
of
cell in sheet2 in the cell range of sheet1.

suppose that the data in cell A5 of Sheet2 is Scott, and on Sheet1
coulmn
D
have a list of names, how can I find the Scott in this case. Also I
clear
one
thing the list of names are unique there is no duplications in it. so
there
will be one and only one Scott.






  #7   Report Post  
Jason Morin
 
Posts: n/a
Default

1. Select A5 on Sheet2.
2. Give it a name (Ctrl+F3) like "myname" (no quotes).
3. Select col. D of Sheet1.
4. Go to Format Conditional Formatting
5. Select "Formula Is" and put:
=COUNTIF($D1,"*"&myname&"*")
6. Press the Format button and format as desired.

HTH
Jason
Atlanta, GA

-----Original Message-----
hi there,

i have a problem with Excel. can anyone tell me how can

I search a text of
cell in sheet2 in the cell range of sheet1.

suppose that the data in cell A5 of Sheet2 is Scott, and

on Sheet1 coulmn D
have a list of names, how can I find the Scott in this

case. Also I clear one
thing the list of names are unique there is no

duplications in it. so there
will be one and only one Scott.
.

  #8   Report Post  
Saadi
 
Posts: n/a
Default

Sorry but it is not working. OK Look at this if it could be

Sheet1 have 2000 names list, and sheet2 contains 877 names of sheet1. I want
the rest names in sheet one deleted which are not in Sheet2.

can it be

"Jason Morin" wrote:

1. Select A5 on Sheet2.
2. Give it a name (Ctrl+F3) like "myname" (no quotes).
3. Select col. D of Sheet1.
4. Go to Format Conditional Formatting
5. Select "Formula Is" and put:
=COUNTIF($D1,"*"&myname&"*")
6. Press the Format button and format as desired.

HTH
Jason
Atlanta, GA

-----Original Message-----
hi there,

i have a problem with Excel. can anyone tell me how can

I search a text of
cell in sheet2 in the cell range of sheet1.

suppose that the data in cell A5 of Sheet2 is Scott, and

on Sheet1 coulmn D
have a list of names, how can I find the Scott in this

case. Also I clear one
thing the list of names are unique there is no

duplications in it. so there
will be one and only one Scott.
.


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
Moving text from one cell to another. estaban botas Excel Worksheet Functions 1 December 15th 04 02:04 PM
how to hyperlink text to a cell steve New Users to Excel 1 December 14th 04 08:21 PM
Formatting a cell as "text" in the number catagory. Ed Excel Worksheet Functions 3 December 7th 04 07:12 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
Returning a Value to a Cell Based on a Range of Uncertain Size amc422 Excel Worksheet Functions 7 November 14th 04 03:03 PM


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