+ Reply to Thread
Results 1 to 4 of 4

Returning Last Populated Cell in a range

  1. #1
    Registered User
    Join Date
    03-24-2009
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    8

    Returning Last Populated Cell in a range

    I would like to have an Excel formula that will return the last populated cell in a range that is >0. For example, in column E, I have a range for data from E1:E20 I would like to have a formula in cell E25 for example, that would return the last number populated in the range of E1:20 that is greater than 0. If data is entered in cells E1 to E15, I would like the formula to return the data in E15 if that is the last number entered in the range. Thanks.
    Last edited by RDMRDM; 05-08-2009 at 05:14 PM.

  2. #2
    Forum Contributor GuruWannaB's Avatar
    Join Date
    01-24-2008
    Location
    An hour due East of Cowtown Ohio
    MS-Off Ver
    2010
    Posts
    421

    Re: Returning Last Populated Cell in a range

    Try this...


    Please Login or Register  to view this content.
    Place it in the cell you want the results in.

    NOTE: It will result with the last NUMBER...ignoring any alpha entries

    Hope that helps,

    GWB
    I help because of the Pavlovian dog that resides in the inner me...so if you are happy with the results, please add to my reputation. It helps keep me motivated!



    Please mark your threads as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Returning Last Populated Cell in a range

    Lots of useful suggestions here for last value in numeric ranges, text ranges, and mixed ranges:

    http://www.ozgrid.com/forum/showthread.php?t=68869
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,702

    Re: Returning Last Populated Cell in a range

    To get the last number > 0 try

    =LOOKUP(2,1/(E1:E20>0),E1:E20)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1