+ Reply to Thread
Results 1 to 13 of 13

#VALUE! and #N/A errors

  1. #1
    Forum Contributor
    Join Date
    03-19-2009
    Location
    Nambucca Heads NSW
    MS-Off Ver
    Excel 2007
    Posts
    125

    #VALUE! and #N/A errors

    hi all i need help on the following

    In cells BS8 I have the following =100*SUBSTITUTE(BR16,"metres","") to get centremetres from cell BR8 and in cell BT8 I have the following

    =IF(BS8,ROUND('Under 6 Boys'!D11*(BS8-'Under 6 Boys'!E11)^'Under 6 Boys'!F11,0),"") I get a #Value error

    I have also tried
    =ROUND('Under 6 Boys'!D11*(BS8-'Under 6 Boys'!E11)^'Under 6 Boys'!F11,0)
    In BT8 but I get same error

    I have used it in another sheetsheet and it works I don’t understand why is is happening

    Plus is there a way to get rid of #N/A as I am using the following in another cell on same spreadsheet
    =VLOOKUP(F8,'centre No'!C:D,2,0)
    it works but I don’t want the #N/A showing
    Last edited by Duckie; 12-05-2009 at 07:54 PM.

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    re: #VALUE! and #N/A errors

    Hi Duckie
    The #Value means data of wrong type in calculation
    and =IF(BS8,ROUND('Under 6 Boys'!D11*(BS8-'Under 6 Boys'!E11)^'Under 6 Boys'!F11,0),"") one of these is text not a number

    the second part ...with 2007 use
    =IFERROR(VLOOKUP(F8,'centre No'!C:D,2,0),0 )
    will return Zero for errors
    Last edited by pike; 12-05-2009 at 05:57 PM. Reason: change formulae
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Forum Contributor
    Join Date
    03-19-2009
    Location
    Nambucca Heads NSW
    MS-Off Ver
    Excel 2007
    Posts
    125

    re: #VALUE! and #N/A errors

    thank you Pike the #N/A is fixed
    but i still don't know why the #value is there as i have used it on other sheets and it work

  4. #4
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    re: #VALUE! and #N/A errors

    hmmm..... can you attach a workbook?

  5. #5
    Forum Contributor
    Join Date
    03-19-2009
    Location
    Nambucca Heads NSW
    MS-Off Ver
    Excel 2007
    Posts
    125

    re: #VALUE! and #N/A errors

    have included the file if you type in BQ8 3.23 in BR8 it comes up as 323 which is right but in the blank cells it has #value it should be blank
    Attached Files Attached Files

  6. #6
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    re: #VALUE! and #N/A errors

    Hey Duckie
    use the IFERROR() again
    =IFERROR(100*SUBSTITUTE(BQ8,"metres",""),0)
    this is happen when BQ8 is empty

  7. #7
    Forum Contributor
    Join Date
    03-19-2009
    Location
    Nambucca Heads NSW
    MS-Off Ver
    Excel 2007
    Posts
    125

    re: #VALUE! and #N/A errors

    thank you it worked

  8. #8
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    re: #VALUE! and #N/A errors

    your welcome

  9. #9
    Forum Contributor
    Join Date
    03-19-2009
    Location
    Nambucca Heads NSW
    MS-Off Ver
    Excel 2007
    Posts
    125

    Re: #VALUE! and #N/A errors

    hi i am not sure whether i'm allowed to post in here again a new problem has come up about the #value in the Total points the #Value comes up again i have tried to use the iferror code but it won't let me

  10. #10
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: #VALUE! and #N/A errors

    Hi Duckie
    Whats the formula? the sheet I have dosent have a formula in total points
    or can you use the Iferror again?

  11. #11
    Forum Contributor
    Join Date
    03-19-2009
    Location
    Nambucca Heads NSW
    MS-Off Ver
    Excel 2007
    Posts
    125

    Re: #VALUE! and #N/A errors

    hi pike i have tried the irerror but didn't work maybe i dodn't do it right i haver included the file agin
    Attached Files Attached Files

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

    Re: #VALUE! and #N/A errors

    As outlined already by Pike the #VALUE is because of the explicit coercion taking place via addition where some values are "non-numeric" by nature, eg:

    =BY8+CA8 --> #VALUE! because a Null ("") is in effect a 0 len non-numeric text string which can not be coerced to number

    =SUM(BY8,CA8) --> 1100 ... SUM does not explicitly coerce in this context thus the Null in CA8 is simply ignored.

    However, rather than having

    =SUM(K8,M8,...CA8)

    Have you considered using SUMIF ?

    =SUMIF($K$6:$CA$6,"points",$K8:$C8)

    like SUM it won't explicitly coerce but it's a bit simpler to setup I'd say.

  13. #13
    Forum Contributor
    Join Date
    03-19-2009
    Location
    Nambucca Heads NSW
    MS-Off Ver
    Excel 2007
    Posts
    125

    Re: #VALUE! and #N/A errors

    thank you Donkeyote
    it worked
    i have so many formulas on one sheetsheet it isn't funny

+ 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