ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula to find cell with data on a row (https://www.excelbanter.com/excel-worksheet-functions/30108-formula-find-cell-data-row.html)

Steved

Formula to find cell with data on a row
 
Hello from Steved

Please what formula would find the first cell in a row with data or value in
it.

Thankyou.

Max

Perhaps one way ..

Assuming it's for row1, and "first cell in a row" means from the left

Put in say, A2, and array-enter
(press CTRL+SHIFT+ENTER):

=INDEX(1:1,MATCH(TRUE,1:1<"",0))
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Steved" wrote in message
...
Hello from Steved

Please what formula would find the first cell in a row with data or value

in
it.

Thankyou.




Biff

Hi!

What do want, the cell's address?

Biff

"Steved" wrote in message
...
Hello from Steved

Please what formula would find the first cell in a row with data or value
in
it.

Thankyou.




Max

If you want the cell address (relative),

Put in say, A2, and array-enter
(press CTRL+SHIFT+ENTER):
=ADDRESS(ROW(1:1),MATCH(TRUE,1:1<"",0),4)

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----



Steved

Thanks Max

"Max" wrote:

Perhaps one way ..

Assuming it's for row1, and "first cell in a row" means from the left

Put in say, A2, and array-enter
(press CTRL+SHIFT+ENTER):

=INDEX(1:1,MATCH(TRUE,1:1<"",0))
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Steved" wrote in message
...
Hello from Steved

Please what formula would find the first cell in a row with data or value

in
it.

Thankyou.





Max

You're welcome, Steved.
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Steved" wrote in message
...
Thanks Max





All times are GMT +1. The time now is 09:28 PM.

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