Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Return the Row a certain Value in Excel

Posted on 2011-02-22
3
Medium Priority
?
237 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 1200 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
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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

670 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