Solved

Address of the last cell in a column that contains data with blank cells in the column

Posted on 2011-09-08
2
197 Views
Last Modified: 2012-05-12
I would like to have a formula that gives the row number of the last cell containing data in a column.  That column will have blank cells between data in that column.
0
Comment
Question by:DavidH7470
2 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 36504817
Try this to give the row number of the last populated cell in A1:A1000

=MATCH(2,INDEX(1/(A1:A1000<>""),0))

extend range as required, in Excel 2007 and later versions you can use A:A for whole column.....

regards, barry
0
 

Author Closing Comment

by:DavidH7470
ID: 36505045
Great.  Thank you.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

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…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

808 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