Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default 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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default 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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default 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


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default 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


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
varying a cell and seeing the outcome mikebo Excel Worksheet Functions 2 June 22nd 09 07:04 PM
Search and match two colums give third column result [email protected] Excel Discussion (Misc queries) 3 November 18th 08 11:09 PM
search a string as substring and give adjacent values Eddy Stan Excel Worksheet Functions 1 June 23rd 08 03:05 PM
Locking cell depending on outcome of formulae Janelle S[_2_] Excel Discussion (Misc queries) 0 March 26th 08 07:55 AM
How can I give text a numerical value in adjacent cell? CT1974 Excel Worksheet Functions 5 May 22nd 07 09:41 AM


All times are GMT +1. The time now is 05:48 AM.

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"