+ Reply to Thread
Results 1 to 7 of 7

Formula to pull the last cell in a column

  1. #1
    Registered User
    Join Date
    10-28-2016
    Location
    Michigan, USA
    MS-Off Ver
    2010
    Posts
    10

    Formula to pull the last cell in a column

    Good Afternoon,

    I am working on a multiple tab worksheet where I am using a formula to count all the blanks in a column. I am using the formula =COUNTBLANK(D2:D500). However, since my file has multiple tabs with all different row counts, I would like a formula that would automatically pull the last row #. Is there a formula to add to the end of the count black formula so it'll automatically pull the last cell that has text?

    Hopefully that makes sense. Thank you for your help.

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Formula to pull the last cell in a column

    Have you considered using tables instead of ranges? Then it would be easy.
    Can't think of a way of doing it in a formula with just ranges.
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

  3. #3
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Formula to pull the last cell in a column

    question: The cells that have text, are they separated by blank cells throughout or do the blank cells start to occur after the last cell of text?

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula to pull the last cell in a column

    This will return the last (bottom-most) row number that contains a TEXT entry...

    =MATCH("zzzzz",D:D)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    10-28-2016
    Location
    Michigan, USA
    MS-Off Ver
    2010
    Posts
    10

    Re: Formula to pull the last cell in a column

    Thank you for your response and good question! There are blanks all through the column so I want to count those blanks, however, do not want to count the blanks that appear after the last cell of text, if that makes sense.

  6. #6
    Registered User
    Join Date
    10-28-2016
    Location
    Michigan, USA
    MS-Off Ver
    2010
    Posts
    10

    Re: Formula to pull the last cell in a column

    That helps so much. Thank you!!

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula to pull the last cell in a column

    You're welcome. Thanks for the feedback!

+ 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. [SOLVED] Formula to pull data from the last cell of a column in a different worksheet
    By marshallmr in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-10-2015, 07:33 PM
  2. [SOLVED] Excel does not pull value from the cell - appears to pull formula
    By enjoyexcel in forum Excel General
    Replies: 2
    Last Post: 01-06-2015, 11:42 AM
  3. Replies: 4
    Last Post: 05-19-2013, 07:12 PM
  4. Formula to pull rows of data based on a column cell value (Criteria)
    By PaulLor89 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-30-2013, 11:26 AM
  5. Replies: 6
    Last Post: 03-04-2013, 11:25 AM
  6. Replies: 2
    Last Post: 02-02-2012, 09:02 AM
  7. Pull random cell on column B if column C is empty
    By curb in forum Excel General
    Replies: 1
    Last Post: 04-08-2008, 04:57 PM

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