+ Reply to Thread
Results 1 to 5 of 5

Formula: consolidating a list with blank cell values NOT true blank cells

  1. #1
    Registered User
    Join Date
    12-26-2021
    Location
    Swansea
    MS-Off Ver
    2019
    Posts
    14

    Formula: consolidating a list with blank cell values NOT true blank cells

    I have the following formula:


    =INDEX($BL$2:$BL$51, SMALL(IF(ISBLANK($BL$2:$BL$51), "", ROW($BL$2:$BL$51)-MIN(ROW($BL$2:$BL$51))+1), ROW($A1)))


    which searches through an array and consolidates a list removing any blanks.


    The problem is the array it's searching through is itself pulling information from other formula based lists.


    Therefore the cell reference is not always a true blank cell - rather just a cell with a blank value and a formula accociated to it.


    How do I adjust the above formula so it recognises a blank value NOT a blank cell?


    Thanks
    Last edited by AliGW; 11-06-2022 at 05:39 AM. Reason: SOLVED tag applied - no need to edit the thread title for this.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,419

    Re: Formula: consolidating a list with blank cell values NOT true blank cells

    Try changing . . . IF(ISBLANK($BL$2:$BL$51), "", . . . to . . . IF($BL$2:$BL$51="", "", . . .
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    12-26-2021
    Location
    Swansea
    MS-Off Ver
    2019
    Posts
    14

    Re: Formula: consolidating a list with blank cell values NOT true blank cells

    There we go. It works perfectly!

    Thanks much for your help TMS.

    Much appriciated.

  4. #4
    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,002

    Re: [SOLVED] Formula: consolidating a list with blank cell values NOT true blank cells

    It can also be turned into a non-array formula (ENTER only) by using:

    =INDEX($BL:$BL,AGGREGATE(15,6,ROW($BL$2:$BL$51)/($BL$2:$BL$51=""), ROWS(A$3:A3)))

    where the bit in RED refers to the cell that the formula STARTS in (beofre copying down)
    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

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,419

    Re: [SOLVED] Formula: consolidating a list with blank cell values NOT true blank cells

    @AndyT88: You're welcome.

+ 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] Conditional Formatting Formula Help - acts is if true when cell is blank
    By joshdog13 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-25-2021, 04:08 PM
  2. Replies: 8
    Last Post: 01-04-2021, 11:08 PM
  3. [SOLVED] Consolidating rows with blank values
    By kmfdm515 in forum Excel General
    Replies: 17
    Last Post: 07-03-2017, 01:42 PM
  4. True or false formula giving wrong result for null and blank values
    By aniletc37 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-30-2016, 04:20 AM
  5. Replies: 11
    Last Post: 09-15-2014, 02:36 AM
  6. [SOLVED] Need an IF formula that leaves the cell blank if equation is true
    By Alexander.Tartter in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-03-2013, 01:48 PM
  7. Replies: 3
    Last Post: 04-09-2012, 02:53 PM

Tags for this Thread

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