ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I return the first non-blank value in a row? (https://www.excelbanter.com/excel-worksheet-functions/58245-how-do-i-return-first-non-blank-value-row.html)

BBA

How do I return the first non-blank value in a row?
 


Bernie Deitrick

How do I return the first non-blank value in a row?
 
Array enter (enter using Ctrl-Shift-Enter)

=INDEX(1:1,MIN(IF(1:1<"",COLUMN(1:1),300)))

Change the 1:1 to the row of interest...

HTH,
Bernie
MS Excel MVP


"BBA" wrote in message
...




Domenic

How do I return the first non-blank value in a row?
 
Here's another way...

=INDEX(A1:Z1,MATCH(TRUE,INDEX(A1:Z1<"",0),0))

or

=INDEX(1:1,MATCH(TRUE,INDEX(1:1<"",0),0))

Hope this helps!

In article ,
BBA wrote:


All times are GMT +1. The time now is 07:18 PM.

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