+ Reply to Thread
Results 1 to 8 of 8

Last cell with data, not last cell with formula

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Last cell with data, not last cell with formula

    I'm setting up a View Only workbook for some users who only need to view the data in another workbook that has users constantly updating.

    My view only workbook (VW) is simply links to the WB being updated (UpD). UpD currently has 1000 lines, but will probably wind up with about 4000 by the end of the year, so in VW I link down to row 5000 to be on the safe side.

    My problem is that for a Viewer they can't go to, for instance, A1 and hit Ctrl Down Arrow to arrive at the last populated cell, because that takes them to row 5000, whereas the actual data ends at row 1000.

    So, I'd like to display a graphic saying something like "Row 1148 is the LAST Populated row" so they'll have an idea of how far down to drop. My problem is I don't know how to formulalaicly determine the last row containing real data.

    BTW, I've turned off the display of zeros for links that contain no data, so the cells after the real data appear empty.

    Any help would be appreciated.
    I know I'm not stupid, but I suspect I'm a lot stupider than I think I am

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Last cell with data, not last cell with formula

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Last cell with data, not last cell with formula

    Okay, wasn't going to attach because it has a lot of privileged info, but I stripped it down pretty good, so it's attached now. Hope it helps show the problem.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Last cell with data, not last cell with formula

    Try this:

    =MATCH("zzz",A:A)

    or this:

    ="Row "&MATCH("zzz",A:A)&" is the LAST Populated row"

  5. #5
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Last cell with data, not last cell with formula

    Holy Moley, easy and spot on! That solves me.

    You know, I was born in England, but left there when I was 2, so never realized how bright some of the people there are. Thanks for enlightening me!

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Last cell with data, not last cell with formula

    Always pleased to support one of our less able Stateside cousins ...

    Bright and sarcastic!

  7. #7
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Last cell with data, not last cell with formula

    You're allowed to be sarcastic when you're bright enough to carry it off.

    But, with that said, I don't think sarcasm is one of the virtues.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Last cell with data, not last cell with formula

    I don't really care.

    Glad to have helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro: Formula that pulls data from a specific cell based on another cell?
    By EdgarV97 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-06-2019, 02:01 PM
  2. [SOLVED] Lookup formula to return the last cell with data and the cell above that cell
    By bdouglas1011 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-18-2018, 01:11 PM
  3. Replies: 5
    Last Post: 04-09-2014, 10:36 PM
  4. [SOLVED] Formula Needed to copy data from a cell based on data entered into another cell
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-10-2013, 03:16 AM
  5. excel formula working on a cell which is having data in a data validation cell
    By sujithy007 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-16-2013, 04:18 AM
  6. excel formula working on a cell which is having data in a data validation cell
    By sujithy007 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-16-2013, 04:05 AM
  7. Replies: 1
    Last Post: 12-17-2011, 10:14 AM

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