+ Reply to Thread
Results 1 to 6 of 6

Return non blank cell (reading from left to right)

  1. #1
    Registered User
    Join Date
    03-31-2016
    Location
    London
    MS-Off Ver
    2010
    Posts
    5

    Return non blank cell (reading from left to right)

    Hi, I found the formula from this thread (http://www.teachexcel.com/excel-help...to.php?i=51213) but not sure how I can make this works if my data goes from left to right, does anyone has an idea..?

  2. #2
    Registered User
    Join Date
    03-31-2016
    Location
    London
    MS-Off Ver
    2010
    Posts
    5

    Re: Return non blank cell (reading from left to right)

    Sorry forgot to put an example; so i wanted to return the value from the table below..
    Return value ColumnB Column C Column D Column E
    Test 1 test1
    Test 2 test2
    Test 3 test3
    Test 4 test4

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Return non blank cell (reading from left to right)

    See the @pb71 (Forum Contributer) post #5 on http://www.excelforum.com/l/735632-return-non-blank-cells-from-a-range.html
    I add a new solution for Excel 2010 and prior with this regular formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See the file for clarification
    Attached Files Attached Files

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Return non blank cell (reading from left to right)

    Sorry for the last post
    Use the following formula for left to right
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See the file for clarification
    Attached Files Attached Files

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

    Re: Return non blank cell (reading from left to right)

    Try this...

    Assuming the data is text as your sample demonstrates and that there are no formulas in the range that return blanks "".

    Data Range
    A
    B
    C
    D
    E
    1
    test1
    test1
    2
    test2
    test2
    3
    test3
    test3
    4
    test4
    test4


    This formula entered in A1 and copied down:

    =INDEX(B1:E1,MATCH("*",B1:E1,0))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Return non blank cell (reading from left to right)

    Enter A1 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B C D E F G
    1 One One Two
    2 Two Two Three
    3 Three Three
    4 Five Five Four
    Last edited by AlKey; 06-08-2016 at 08:37 AM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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. A cell should return a value by reading a string name
    By VishwaRAFA in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-18-2016, 07:26 AM
  2. Replies: 9
    Last Post: 05-28-2015, 09:12 AM
  3. Select Variable Non-blank Cells Reading Right To Left
    By Kingswood in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-10-2014, 09:45 AM
  4. [SOLVED] HELP : Return blank if there is no value or no data in left cell..
    By clonedarkman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-10-2014, 11:40 PM
  5. Replies: 2
    Last Post: 11-22-2013, 01:07 PM
  6. Return Blank Cell, if no value in the cell on the left
    By bholabhala in forum Excel General
    Replies: 3
    Last Post: 07-12-2011, 01:34 PM
  7. reading until blank cell occurs
    By t_finn in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-28-2009, 11:55 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