Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default How to find text in a range of cells?

Can someone please put me out of my misery? ...

Suppose each cell in a range contains a single letter,
and the letters are all distinct. Is there a way to
use workbook functions (not a macro) to find the row
& column of the cell that contains a pariticular letter?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default How to find text in a range of cells?

You could always search with [ctrl]+F and type in what you're looking for.
It'll take you to wherever it is in the document, and you should be able to
see the column and row from there.

"r.e.s." wrote:

Can someone please put me out of my misery? ...

Suppose each cell in a range contains a single letter,
and the letters are all distinct. Is there a way to
use workbook functions (not a macro) to find the row
& column of the cell that contains a pariticular letter?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default How to find text in a range of cells?

"Lauren Giles" wrote ...
"r.e.s." wrote:
Can someone please put me out of my misery? ...

Suppose each cell in a range contains a single letter,
and the letters are all distinct. Is there a way to
use workbook functions (not a macro) to find the row
& column of the cell that contains a pariticular letter?


You could always search with [ctrl]+F and type in what you're looking for.
It'll take you to wherever it is in the document, and you should be able

to
see the column and row from there.


Thanks, but by "use workbook functions", I mean use the
functions that can appear in formulas in cells of the workbook.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default How to find text in a range of cells?

Say your datalist was in A1 to E20.

Enter the value you're looking to find into F1,
and try this *array* formula:

=ADDRESS(MAX((A1:E20=F1)*ROW(A1:E20)),MAX((A1:E20= F1)*COLUMN(A1:E20)))

--
Array formulas must be entered with CSE, <Ctrl <Shift <Enter, instead of
the regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually. Also, you must use CSE when
revising the formula.

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------


"r.e.s." wrote in message
...
Can someone please put me out of my misery? ...

Suppose each cell in a range contains a single letter,
and the letters are all distinct. Is there a way to
use workbook functions (not a macro) to find the row
& column of the cell that contains a pariticular letter?



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default How to find text in a range of cells?

"RagDyer" wrote ...
Say your datalist was in A1 to E20.

Enter the value you're looking to find into F1,
and try this *array* formula:

=ADDRESS(MAX((A1:E20=F1)*ROW(A1:E20)),MAX((A1:E20= F1)*COLUMN(A1:E20)))

--
Array formulas must be entered with CSE, <Ctrl <Shift <Enter, instead

of
the regular <Enter, which will *automatically* enclose the formula in

curly
brackets, which *cannot* be done manually. Also, you must use CSE when
revising the formula.


Thanks very much ... I'll give it a try.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default How to find text in a range of cells?

"RagDyer" wrote ...
Say your datalist was in A1 to E20.

Enter the value you're looking to find into F1,
and try this *array* formula:

=ADDRESS(MAX((A1:E20=F1)*ROW(A1:E20)),MAX((A1:E20= F1)*COLUMN(A1:E20)))

--
Array formulas must be entered with CSE, <Ctrl <Shift <Enter, instead

of
the regular <Enter, which will *automatically* enclose the formula in

curly
brackets, which *cannot* be done manually. Also, you must use CSE when
revising the formula.


Just to follow up ... That works exactly as I needed.
Thanks again.

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default How to find text in a range of cells?

You're welcome, and thanks for the feed-back.
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"r.e.s." wrote in message
...
"RagDyer" wrote ...
Say your datalist was in A1 to E20.

Enter the value you're looking to find into F1,
and try this *array* formula:

=ADDRESS(MAX((A1:E20=F1)*ROW(A1:E20)),MAX((A1:E20= F1)*COLUMN(A1:E20)))

--
Array formulas must be entered with CSE, <Ctrl <Shift <Enter, instead

of
the regular <Enter, which will *automatically* enclose the formula in

curly
brackets, which *cannot* be done manually. Also, you must use CSE when
revising the formula.


Just to follow up ... That works exactly as I needed.
Thanks again.


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 a range of values in a range of cells Jack Taylor Excel Worksheet Functions 20 November 25th 06 01:26 PM
Calculating only non-empty cells... Jay Excel Worksheet Functions 9 September 22nd 06 03:20 AM
How do I copy the contents of a range of text cells and paste into one cell? davfin Excel Discussion (Misc queries) 7 July 4th 06 08:16 AM
25 days previous to today? MaQ Excel Discussion (Misc queries) 5 March 14th 06 06:57 PM
Need macro to delete all text cells in an Excel range GVT Excel Worksheet Functions 2 February 26th 06 12:25 PM


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