Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Display text from a single cell in a column range

I need to display the text from a single cell in a fixed column range, but
the location of the cell with text in it varies. The fixed column range I
have is P25:P40000. This column range will either be completely blank, or
will have a single cell within the range that will contain text (could be
cell P48 one time, cell P2705 the next, cell P30 the next, etc.). If there
is a cell with text in it somewhere in column range P25:P40000, I want to be
able to display that cell's text in cell Y5.

Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Display text from a single cell in a column range

Put this formula in Y5:

=LOOKUP("zzzzzzzzzz",P25:P40000)

Hope this helps.

Pete


On Jul 18, 11:27*pm, brettopp
wrote:
I need to display the text from a single cell in a fixed column range, but
the location of the cell with text in it varies. *The fixed column range I
have is P25:P40000. *This column range will either be completely blank, or
will have a single cell within the range that will contain text (could be
cell P48 one time, cell P2705 the next, cell P30 the next, etc.). *If there
is a cell with text in it somewhere in column range P25:P40000, I want to be
able to display that cell's text in cell Y5.

Any ideas?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Display text from a single cell in a column range

This column range will either be completely blank,
or will have a single cell within the range that will
contain text


One way:

=INDEX(P25:P40000,MATCH("*",P25:P40000,0))

--
Biff
Microsoft Excel MVP


"brettopp" wrote in message
...
I need to display the text from a single cell in a fixed column range, but
the location of the cell with text in it varies. The fixed column range I
have is P25:P40000. This column range will either be completely blank, or
will have a single cell within the range that will contain text (could be
cell P48 one time, cell P2705 the next, cell P30 the next, etc.). If
there
is a cell with text in it somewhere in column range P25:P40000, I want to
be
able to display that cell's text in cell Y5.

Any ideas?



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
how to display rows of data in a single column IUM Excel Discussion (Misc queries) 6 December 30th 08 07:29 PM
Copy column range of "single word" cells with spaces to a single c nastech Excel Discussion (Misc queries) 3 February 15th 06 05:04 PM
How to I copy text from a range of cells to another single cell? WRT Excel Discussion (Misc queries) 2 December 18th 05 06:17 AM
How can I display a cell range in a text box in excel? Pat Hughes Excel Discussion (Misc queries) 3 September 22nd 05 05:13 PM
looking for range of text in a single cell hatter Excel Discussion (Misc queries) 0 August 29th 05 06:23 PM


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