+ Reply to Thread
Results 1 to 4 of 4

find last none empty cell

  1. #1
    kevcar40
    Guest

    find last none empty cell

    Hi
    i have a worksheet that allows the user to enter data over a range
    C27 : Z27
    What i want to do is check the range and return the last cell that
    contains a value
    i have tried several formulas but am getting lost
    this formula below is the closest i can get to resolving the problem

    =ADDRESS(ROW(A5),MATCH(<>" ",A5:E5))


    can anyone help please

    thanks

    kevin


  2. #2
    Bob Phillips
    Guest

    Re: find last none empty cell

    =ADDRESS(ROW(A5),MAX(IF(ISBLANK(C5:Z5),0,COLUMN(C5:Z5))))

    which is an array formula, it should be committed with Ctrl-Shift-Enter, not
    just Enter.

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "kevcar40" <[email protected]> wrote in message
    news:[email protected]...
    > Hi
    > i have a worksheet that allows the user to enter data over a range
    > C27 : Z27
    > What i want to do is check the range and return the last cell that
    > contains a value
    > i have tried several formulas but am getting lost
    > this formula below is the closest i can get to resolving the problem
    >
    > =ADDRESS(ROW(A5),MATCH(<>" ",A5:E5))
    >
    >
    > can anyone help please
    >
    > thanks
    >
    > kevin
    >




  3. #3
    kevcar40
    Guest

    Re: find last none empty cell

    thank you
    works a treat

    kevin


  4. #4
    kevcar40
    Guest

    Re: find last none empty cell

    thank you
    works a treat

    kevin


+ 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