+ Reply to Thread
Results 1 to 3 of 3

Eliminating that dreaded "#num!" from a variable list

  1. #1
    Forum Contributor
    Join Date
    11-13-2010
    Location
    Warren, Michigan
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    307

    Eliminating that dreaded "#num!" from a variable list

    I have a list in Col B which is a constant 66 numbers.

    I needed to sort out duplicates so in Col C I placed
    =IF(B1="","",IF(COUNTIF($B$1:B1,B1)=1,ROW(),"")) to eliminate any repeat numbers.

    In Col D I placed =IF(ROW(B1)>COUNT($C$1:$C$66),"",INDEX($B$1:$B$66,MATCH(SMALL($C$1:$C$66,ROW(A1)),$C$1:$C$66,0))) to list only the non-repeating numbers.

    In Col E I placed
    =SMALL($D$1:$D$66,ROW(A1)) to sort in descending order the numbers, because its a variable list depending on the "repeat" numbers would vary in length.

    I'm looking for a way to eliminate "#NUM!" and leave those cells blank...

    See attached sample.Attachment 182276
    Attached Files Attached Files
    Last edited by khank; 09-23-2012 at 10:47 AM.

  2. #2
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Eliminating that dreaded "#num!" from a variable list

    =iferror(small($d$1:$d$66,row(a1)),"")
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  3. #3
    Forum Contributor
    Join Date
    11-13-2010
    Location
    Warren, Michigan
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    307

    Re: Eliminating that dreaded "#num!" from a variable list

    Blake 7 it works perfectly for Sunday mornin'...thanks. Now another dilemma is happening...I'll mark this solved...

+ 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