+ Reply to Thread
Results 1 to 3 of 3

Last Cell in a Variable Length Column

  1. #1
    Registered User
    Join Date
    10-14-2009
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    4

    Last Cell in a Variable Length Column

    I'm trying to teach myself VBA. In the meantime, here's a problem I'm faced with: I have a column of which the size can vary anywhere from 1'500 cells to 10'000 because I'm pasting in the data (so sometimes less data sometimes more). I'm wondering if there's a method that'll always detect the value of the last cell in the column, regardless of where that occurs, and publish that value to another cell? E.g., examine column B, find the value in the last non-empty cell in the column, and print that value to cell E12. I thought there'd be a straight forward formula for this, but not as far as I can tell... so I'm turning to VBA. Any suggestion, formula or code would be highly appreciated. Thanks in advance.
    Last edited by akj375; 05-11-2011 at 06:58 PM.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Last Cell in a Variable Length Column

    akj375,

    Something like this?
    Please Login or Register  to view this content.


    Hope that helps,
    ~tigeravatar

  3. #3
    Registered User
    Join Date
    10-14-2009
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Last Cell in a Variable Length Column

    Huge thanks my friend. That's exactly what I needed. Jeez I can't wait till I get better at coding.

+ 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