nonzero value

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have two column A and B. Column A contains ascending numbers from 1 to 100,
column B contains arbitrary values. What is the function that looks for the
first nonzero value in column B (going from the frist to the last row) and
returns the value of column A of the same row.
 
One way:

=MIN(IF(B1:B100<>0,ROW(B1:B100)))

Array-entered, meaning press ctrl/shift/enter.

HTH
Jason
Atlanta, GA
 
I have two column A and B. Column A contains ascending numbers from 1 to 100,
column B contains arbitrary values. What is the function that looks for the
first nonzero value in column B (going from the frist to the last row) and
returns the value of column A of the same row.

See answer in your other posting.


--ron
 

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