Display text from a single cell in a column range

B

brettopp

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?
 
T

T. Valko

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))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top