+ Reply to Thread
Results 1 to 9 of 9

Can't hide N/A and get RANK to work

  1. #1
    Registered User
    Join Date
    02-22-2011
    Location
    Iceland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Question Can't hide N/A and get RANK to work

    Hi all

    I'm working on a horse tournament excel sheet for a riding club. Sometimes there are 5 competitors, other times 20. I'm almost finished but can't reach the finish line. The problem is to disable/hide the #N/A error because i can't get RANK formula to work if there is #N/A in it.

    Column I has RANK formula =RANK(H4;$H$4:$H$30;1)
    Column H has vlookup formula and if there is an #N/A somewhere from H4:H30 the RANK formula doesn't work.



    Thanks
    Kristján
    Attached Files Attached Files
    Last edited by kidb; 02-25-2011 at 10:39 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: Can't hide N/A and get RANK to work

    In column H, put in some error handling:

    =iferror(vlookup(.....),"")

    That way column H will return a blank instead of an #N/A error.

  3. #3
    Registered User
    Join Date
    02-22-2011
    Location
    Iceland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Can't hide N/A and get RANK to work

    What a quick answer..

    I tried this but when I hit enter on my keyboard the ,"" is highligted and i don't know what to do.

  4. #4
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: Can't hide N/A and get RANK to work

    You're using Excel 2007, yes? If so, this should definitely work.

    It could be you have too many parentheses in there? Using your original formula, simply type IFERROR( at the start and then ,"") at the end.
    Hopefully that should work?
    Last edited by brokenbiscuits; 02-25-2011 at 07:37 AM.

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,065

    Re: Can't hide N/A and get RANK to work

    Or you use ; as a delimiter

    =iferror(vlookup(.....); "")
    Never use Merged Cells in Excel

  6. #6
    Registered User
    Join Date
    02-22-2011
    Location
    Iceland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Can't hide N/A and get RANK to work

    It doesn't work for me, maybe there is something else wrong. I am using Excel 2007.

    The formula is like this now:
    =IFERROR(VLOOKUP($E$4:$E$30;Stigagjof!$A$2:$B$50;2;2),"")

    the ,"" gets highlighted when i hit enter. I tried to use the iferror on few other cells with formulas but with same issue. Could it be related to some settings ?

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Can't hide N/A and get RANK to work

    I have updated your workbook as BB suggests. Look at all the formulae.
    Attached Files Attached Files

  8. #8
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,738

    Re: Can't hide N/A and get RANK to work

    If you want you can leave the #N/As and rank by using COUNTIF function, i.e. in I4 copied down

    =IF(ISNA(H4);"";COUNTIF(H$4:H$30;"<"&H4)+1)
    Audere est facere

  9. #9
    Registered User
    Join Date
    02-22-2011
    Location
    Iceland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Can't hide N/A and get RANK to work

    Nice,

    ; was the problem. It's all magic now.

    Thanks alot for mega quick help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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