+ Reply to Thread
Results 1 to 7 of 7

Finding the first non blank cell

  1. #1
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    256

    Finding the first non blank cell

    Hi,

    I have row list that some has blanks. I want to have a formula that will copy the last non black cell in each row
    Attached Files Attached Files
    Last edited by Elainefish; 11-23-2015 at 03:57 PM.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Finding the first non blank cell

    pls attach a sample excel file with expected result
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Finding the first non blank cell

    Try:
    =LOOKUP(2,1/(A2:A30<>""),A2:A30)

    assuming that the range of cells is A2 to A30.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    256

    Re: Finding the first non blank cell

    hi. i had issues uploading my file a while ago.... but now my question with file is posted. hope you can help me. thanks in adv

  5. #5
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    256

    Re: Finding the first non blank cell

    Quote Originally Posted by Glenn Kennedy View Post
    Try:
    =LOOKUP(2,1/(A2:A30<>""),A2:A30)

    assuming that the range of cells is A2 to A30.

    hi. i had issues uploading my file a while ago.... but now my question with file is posted. its not exactly how i wanted it. hope you can help me. thanks in adv

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Finding the first non blank cell

    In F2,

    =LOOKUP(9E+307, A2:E2/(A2:E2<>""))
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    256

    Re: Finding the first non blank cell

    Quote Originally Posted by shg View Post
    In F2,

    =LOOKUP(9E+307, A2:E2/(A2:E2<>""))
    this solves my problem. but I am wondering why 307 in formula?

+ 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. Finding first non-blank cell
    By excelquestionz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-25-2015, 01:28 PM
  2. [SOLVED] Finding the last non blank cell in the row
    By ABSTRAKTUS in forum Excel General
    Replies: 5
    Last Post: 10-24-2012, 10:57 AM
  3. Finding blank cells and pasting below each blank cell
    By lilshaq in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2011, 03:50 AM
  4. Finding the value of the 1st non-blank cell in a range
    By AC1982 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-31-2009, 02:04 AM
  5. Finding non-value/blank cell where there is a formula
    By acsishere in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-23-2008, 02:51 PM
  6. Finding the last non blank cell in a row
    By a94andwi in forum Excel General
    Replies: 10
    Last Post: 11-07-2006, 08:38 AM
  7. Finding blank cell
    By Mario_Party in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-31-2006, 12:15 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