#1   Report Post  
DAVID
 
Posts: n/a
Default nonzero value

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.
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

One way:

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

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

HTH
Jason
Atlanta, GA

-----Original Message-----
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.
.

  #3   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Mon, 10 Jan 2005 05:19:01 -0800, "DAVID"
wrote:

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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
find first nonzero value in column DAVID Excel Worksheet Functions 5 January 11th 05 03:31 AM
find first nonzero value in column DAVID Excel Worksheet Functions 2 January 11th 05 12:53 AM
find first nonzero value in column DAVID Excel Worksheet Functions 0 January 10th 05 01:11 PM


All times are GMT +1. The time now is 06:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"