Solved

Return the Row a certain Value in Excel

Posted on 2011-02-22
3
232 Views
Last Modified: 2012-08-13
I have a spreadsheet (.xls). In column A, there are several unique numeric values ranging from 0001-9999. After 9999, there are a series of 0's continuing to display in the column. In cell "B2", i would like to capture the actual row the 0's began to appear. So for example, if in A1 through A9999, there were actual values, then in Cell A10000, theres the first 0, i would like for "10000" to calculate/ populate in cell B2. I'm open to simple excel formula or VB to run module.

Any takers?
0
Comment
Question by:ctownsen80
3 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 300 total points
ID: 34955884
For the position of the first zero in column A try MATCH function, i.e. in B2 use this formula

=MATCH(0,A:A,0)

regards, barry
0
 
LVL 50

Expert Comment

by:Ingeborg Hawighorst
ID: 34955891
Hello,

like this maybe?

=MATCH(0,A:A,-1)

cheers, teylyn
0
 

Author Closing Comment

by:ctownsen80
ID: 34955926
WORKS PERFECT! THANKS.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question