ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   leftmost number value (https://www.excelbanter.com/excel-discussion-misc-queries/262487-leftmost-number-value.html)

Sandy

leftmost number value
 
Hi!
how can i make this formula to return the leftmost number only?

this is an array formula
=INDEX(A6:AA6,,MIN(IF(A6:AA6<"",COLUMN(A6:AA6))))

Thanks!

T. Valko

leftmost number value
 
Try this array formula** :

=INDEX(A6:AA6,MATCH(TRUE,ISNUMBER(A6:AA6),0))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

--
Biff
Microsoft Excel MVP


"sandy" wrote in message
...
Hi!
how can i make this formula to return the leftmost number only?

this is an array formula
=INDEX(A6:AA6,,MIN(IF(A6:AA6<"",COLUMN(A6:AA6))))

Thanks!





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

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