ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   display text in a cell in a range of cells (https://www.excelbanter.com/excel-discussion-misc-queries/217785-display-text-cell-range-cells.html)

Shu of AZ

display text in a cell in a range of cells
 
I have a column of cells r1:r59. Each day all but one will be blank and will
contain text. That may be cell r6. The next day all but one will be blank
and will contain text but different. It may be cell r51. This changes daily
and the cell that may have the text in is not predetermined.

I need a formula that will display the text in the cell that is filled that
day and display it in another area of the sheet. B4.

Thanks in advance.

Rick Rothstein

display text in a cell in a range of cells
 
Not sure if this is the most efficient formula or not, but it works...

=INDEX(R1:R59,SUMPRODUCT((R1:R59<"")*ROW(R1:R59)) )

--
Rick (MVP - Excel)


"Shu of AZ" wrote in message
...
I have a column of cells r1:r59. Each day all but one will be blank and
will
contain text. That may be cell r6. The next day all but one will be
blank
and will contain text but different. It may be cell r51. This changes
daily
and the cell that may have the text in is not predetermined.

I need a formula that will display the text in the cell that is filled
that
day and display it in another area of the sheet. B4.

Thanks in advance.




All times are GMT +1. The time now is 11:19 PM.

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