find first non error value in a column

  • Thread starter Thread starter Mika
  • Start date Start date
M

Mika

Hi,

I have column filled either with #N/A or a number. I need a formula to
"extract" the first numeric value in that column.
example:

#N/A
#N/A
#N/A
15
#N/A
#N/A
3
#N/A
the answer must be 15.

Thanks for your time.
Mika
 
Try this:

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just
ENTER):

=IF(COUNT(A1:A8),INDEX(A1:A8,MATCH(TRUE,ISNUMBER(A1:A8),0)),"")

Biff
 
One way:
=LOOKUP(2,1/ISNUMBER(A1:A100),A1:A100)

Adjust the range to match, but don't use the whole column.
 
That will return the *last* numeric value.

Biff

Dave Peterson said:
One way:
=LOOKUP(2,1/ISNUMBER(A1:A100),A1:A100)

Adjust the range to match, but don't use the whole column.
 

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