ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Search for a text in a cell and give the outcome later (https://www.excelbanter.com/excel-programming/438409-search-text-cell-give-outcome-later.html)

Elton Law[_2_]

Search for a text in a cell and give the outcome later
 
Dear expert,
C30 to C60 contains some data.
Say
I wan to find piano and use =MATCH("*piano*",C30:C60,0) in cell D31
It gives me the anwer 20 in D31. 20 is the squence of piano.
How can I use the function and use return the the whole cell content which
is "Play Piano"? I only know where it is. How to locate where and give the
whole content in D32 please?
Thanks
Elton


Play games
Play golf
Play guitar
Play piano
Play Kite
Play Sccoer
Play cards
Play WII
Play music



Stefi

Search for a text in a cell and give the outcome later
 
=INDEX(C30:C60,D31)

--
Regards!
Stefi



€˛Elton Law€¯ ezt Ć*rta:

Dear expert,
C30 to C60 contains some data.
Say
I wan to find piano and use =MATCH("*piano*",C30:C60,0) in cell D31
It gives me the anwer 20 in D31. 20 is the squence of piano.
How can I use the function and use return the the whole cell content which
is "Play Piano"? I only know where it is. How to locate where and give the
whole content in D32 please?
Thanks
Elton


Play games
Play golf
Play guitar
Play piano
Play Kite
Play Sccoer
Play cards
Play WII
Play music



Elton Law[_2_]

Search for a text in a cell and give the outcome later
 
Thanks for help ...

"Stefi" wrote:

=INDEX(C30:C60,D31)

--
Regards!
Stefi



€˛Elton Law€¯ ezt Ć*rta:

Dear expert,
C30 to C60 contains some data.
Say
I wan to find piano and use =MATCH("*piano*",C30:C60,0) in cell D31
It gives me the anwer 20 in D31. 20 is the squence of piano.
How can I use the function and use return the the whole cell content which
is "Play Piano"? I only know where it is. How to locate where and give the
whole content in D32 please?
Thanks
Elton


Play games
Play golf
Play guitar
Play piano
Play Kite
Play Sccoer
Play cards
Play WII
Play music



Stefi

Search for a text in a cell and give the outcome later
 
You are welcome! Thanks for the feedback!
Stefi

--
Regards!
Stefi



€˛Elton Law€¯ ezt Ć*rta:

Thanks for help ...

"Stefi" wrote:

=INDEX(C30:C60,D31)

--
Regards!
Stefi



€˛Elton Law€¯ ezt Ć*rta:

Dear expert,
C30 to C60 contains some data.
Say
I wan to find piano and use =MATCH("*piano*",C30:C60,0) in cell D31
It gives me the anwer 20 in D31. 20 is the squence of piano.
How can I use the function and use return the the whole cell content which
is "Play Piano"? I only know where it is. How to locate where and give the
whole content in D32 please?
Thanks
Elton


Play games
Play golf
Play guitar
Play piano
Play Kite
Play Sccoer
Play cards
Play WII
Play music




All times are GMT +1. The time now is 02:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com