Solved

Return the Row a certain Value in Excel

Posted on 2011-02-22
3
231 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

840 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