+ Reply to Thread
Results 1 to 3 of 3

How to find the first value upwards in a column.

  1. #1
    Forum Contributor
    Join Date
    03-21-2007
    Posts
    118

    How to find the first value upwards in a column. [SOLVED]

    Hello all,

    I am having the following situation.

    Column A has different values and some rows are blank.

    I want in Column B to check the equivalent cell in column A and work its way upwards until it finds a numerical value, then show that value.

    So for example I have this

    A
    1
    blank
    blank
    2
    blank
    3
    blank
    blank
    blank
    4
    5
    blank
    6

    I want in column something like IF(A3="",xxxxx,"") where xxxx is the formula that looks up column A starting from A3 upwards and when it finds the value (i.e in this case "1") to show that value.

    I hope I'm making sense.

    Regards and thanx for any answers.

    K
    Last edited by kostas; 08-09-2007 at 08:26 AM.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    How to find the first value upwards in a column.

    With Col_A containing various numbers, text, and blanks

    This formula returns the last numeric value above a blank cell in Col_A

    B1: =IF(A1="",LOOKUP(10^99,$A$1:A1),"")

    Example (using your posted data):
    Please Login or Register  to view this content.
    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Contributor
    Join Date
    03-21-2007
    Posts
    118
    Pure excellence!

    Thank you very much for the quick reply.

    Regards,

    K

+ 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