+ Reply to Thread
Results 1 to 4 of 4

removing blanks from a list

  1. #1
    Registered User
    Join Date
    02-24-2012
    Location
    florida
    MS-Off Ver
    Excel 2010
    Posts
    97

    removing blanks from a list

    good day all,

    i have found a formula online which works in their test document but it wont work for me, am i overseeing something?? the first cell returns what i want it to but the rest of the cells return #NUM! error. this normally means theres a math equation it can not compute.

    here is my formula :=INDEX(day1_,SMALL(IF(ISBLANK(day1_)+ISERROR(day1_),"",ROW(day1_)-MIN(ROW(day1_))+1),ROW(1:1)))

    attached is my sample workbook

    list help.xlsx

    Thanks in advance

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: removing blanks from a list

    This is an Array formula and you need to confirm using Control+Shift+Enter. Not just Enter.

    But even in this case i am not sure if works for you.

    My suggestion is to use just Custom Sorting from your Excel Panel. Why to use a formula and as it is an Array Formula, for this?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    02-24-2012
    Location
    florida
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: removing blanks from a list

    i am using an array formula because i am making a schedule glance, so every day you just change the date and all people on staff appear on another sheet, i need to sort blanks by formula so i don't lose anyone, when using a custom sort then i lose some people in the future days. i was gonna set up 7 of these lists and have them port to another sheet for every day of the week.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: removing blanks from a list

    So, use this one in B2. Also Array.

    =INDEX(day1_, SMALL(IF(ISBLANK(day1_),"";ROW(day1_)-MIN(ROW(day1_))+1), ROW(A1)))

    BUT: Be carefull. Your A4 cell ISNOT blank. To try if this is TRUE, put this in another empty cell =ISBLANK(A4)

+ 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