How to index the data of last column

  • Thread starter Thread starter Macneed
  • Start date Start date
M

Macneed

How to index the data of last column
if the column contains blank data
ex.
1 2 _ 3 4 _ 8 5
if didn't use temp data
is it possible to get the "5" by one formula?

Thanks a lot
 
=INDEX(1:1,1,MAX((COLUMN(1:1))*(NOT(ISBLANK(1:1)))))

Array formula, to be validated with Ctrl+Shift+Enter


HTH
 
No need for so many parenthesis:
=INDEX(1:1,1,MAX(COLUMN(1:1)*NOT(ISBLANK(1:1))))
 

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

Back
Top