+ Reply to Thread
Results 1 to 4 of 4

Mix of non-empty cell range search & left vlookup

  1. #1
    Registered User
    Join Date
    07-22-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Mix of non-empty cell range search & left vlookup

    Hi all,

    quick question from me:
    I am trying to get two outputs:

    1) content of first non-empty cell (number) from bottom of column (eg. Range C1:C50) - first non-empty cell is C20 --> "content of C20"
    2) content of corresponding cell in same row in other column (e.g. A1:A50) - first non-empty cell in examined range C1:C50 was C20, so now result of that row in range A1:A50, = "content of A20".

    Thanks

    P

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

    Re: Mix of non-empty cell range search & left vlookup

    If I understand try these:

    For the last (bottom-most) numeric value from the range C1:C50:

    =LOOKUP(1E100,C1:C50)

    For the corresponding entry from the range A1:A50:

    =LOOKUP(1E100,C1:C50,A1:A50)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    07-22-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Mix of non-empty cell range search & left vlookup

    PERFECT !

    Thx a lot!

  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: Mix of non-empty cell range search & left vlookup

    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] Move data to empty left cell
    By JawadAhmed in forum Excel General
    Replies: 5
    Last Post: 05-04-2020, 05:53 PM
  2. shift range of cells to left if find the range of empty do while
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-20-2012, 09:25 AM
  3. Replies: 5
    Last Post: 02-02-2010, 01:02 PM
  4. Replies: 3
    Last Post: 02-21-2007, 01:33 PM
  5. Message box if cell is left empty when run?
    By nbaj2k in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2006, 09:05 AM

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