+ Reply to Thread
Results 1 to 6 of 6

ISBLANK and return first value in a non-range

  1. #1
    Registered User
    Join Date
    12-08-2017
    Location
    Sweden
    MS-Off Ver
    2016 365
    Posts
    3

    ISBLANK and return first value in a non-range

    Hello, i would need some help with a function.
    Where i want do scan a couple of cells and return the first value that is not blank.

    I have got it to work with =INDEX(J7:O7;MATCH(TRUE;INDEX((J7:O7 <> "");0);0)) but in this case, the cells are together in a range.

    My problem is that the cells i want to go through are every other cell, so J7, L7, N7 , P7, R7 and T7.
    Does someone know how to solve this problem?

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: ISBLANK and return first value in a non-range

    May be try

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,923

    Re: ISBLANK and return first value in a non-range

    Try:

    '=INDEX(J7:O7;MATCH(1;INDEX((J7:P7 <> "")*(MOD(COLUMN(J7:P7);2)=0);0);0))

  4. #4
    Registered User
    Join Date
    12-08-2017
    Location
    Sweden
    MS-Off Ver
    2016 365
    Posts
    3

    Re: ISBLANK and return first value in a non-range

    Hey, thanks for a quick answer.
    Yes tried it but got the #REF! fail.
    Then i tried to change the cell range and got #N/A

  5. #5
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: ISBLANK and return first value in a non-range

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  6. #6
    Registered User
    Join Date
    12-08-2017
    Location
    Sweden
    MS-Off Ver
    2016 365
    Posts
    3

    Re: ISBLANK and return first value in a non-range

    ok will do that later
    Attached Images Attached Images
    Last edited by lajman; 12-08-2017 at 11:58 AM. Reason: k

+ 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] If Isblank on a range of cells
    By Sylvia_Excel in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-30-2016, 01:01 PM
  2. ISBLANK won't let me return text if true
    By as3ad in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-10-2014, 12:34 PM
  3. vlookup and isblank formula to return nothing
    By amartino44 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-10-2013, 06:59 PM
  4. Help with ISBLANK function referring to a cell with another ISBLANK formula
    By camdameron in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-23-2011, 12:45 PM
  5. ISBLANK function and Cell range
    By AndyF19 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-19-2010, 09:33 AM
  6. ISBLANK for a Range
    By Sige in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 09-28-2005, 04:05 PM
  7. Can you test for a range (Q16:19) any cell is ISBLANK
    By CRayF in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2005, 02: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