+ Reply to Thread
Results 1 to 3 of 3

#VALUE! Appearing on Cell

  1. #1
    Registered User
    Join Date
    10-14-2009
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    43

    #VALUE! Appearing on Cell

    I have this formula on a cell. It works if data on H3 is populated, otherwise, I get #Value!. I tried using ISERROR but it didn't work. I can't seem to figure out where the hold up is.

    Can you help me?

    Thanks in advance!

    =IF((RANK(H3,$H$2:$H$4,0))=1," ",IF((RANK(H3,$H$2:$H$4,0))=2," ",IF((RANK(H3,$H$2:$H$4,0))=3,"Winner!"," ")))

    See attached file too. I'm using 2003 version. Again, many thanks!
    Attached Files Attached Files
    Last edited by ltmaiyk; 03-05-2010 at 12:21 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: #VALUE! Appearing on Cell

    First thing to aware of ... a Space " " is not the same as a Null ""

    The #VALUE! error results from the fact you can't apply RANK to Text values - your source cell is populated with Text (presently a Space but in reality it would be better were it a Null).

    I would suggest (based on existing logic) you revise I2 to

    =IF(COUNT($H$2:$H$4)<3,"",REPT("Winner",RANK($H2,$H$2:$H$4)=3))

    or if less than 3 scores is ok reverse the RANK logic

    =IF(ISNUMBER($H2),REPT("Winner",RANK($H2,$H$2:$H$4,1)=1),"")

  3. #3
    Registered User
    Join Date
    10-14-2009
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: #VALUE! Appearing on Cell

    Thanks for clarifying..I will take note of everything you stated.

+ 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