+ Reply to Thread
Results 1 to 7 of 7

#NA Errors in Data Table

  1. #1
    Registered User
    Join Date
    06-16-2012
    Location
    Valdosta, GA, USA
    MS-Off Ver
    Excel 2010
    Posts
    18

    #NA Errors in Data Table

    I have several #N/A errors in my Simulated Income data table on this exercise, which is preventing the formulation of the Simulated Profitability Statistics table. How can I turn the #N/A into something that will allow the AVERAGE, STDEV.S, MAX, and MIN functions work in the upper table?
    Attached Files Attached Files

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: #NA Errors in Data Table

    Hi haloperidal,

    You can use the below array formula to avoid #n/a :-

    {=IF(ISERROR(N24:N123),"",N24:N123)}

    See attached:-Swimsuits Simulation.xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: #NA Errors in Data Table

    You're using Excel 2010, so (unless you need backward compatibility) take advantage of the new AGGREGATE() function:

    For example: in N10 instead of: =AVERAGE(N24:N123) use: =AGGREGATE(1,6,N24:N123)

    the 1 in the function means AVERAGE and the 6 means "ignore errors"

    Use (instead of 1) 7 for STDEV.S, 4 for MAX and 5 for MIN

    Here's a link: http://www.excelfunctions.net/Excel-...-Function.html

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: #NA Errors in Data Table

    Hi Guys,

    I'm so confused...

    In N24 is a formula of {=TABLE(C9:J29)} ... Where does this formula come from? I can't find a Named Range of "TABLE" or a UDF of that name. What is happening here?
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: #NA Errors in Data Table

    table(which is the table name could be sales or whatever you call it)structured references is a new thing for tables(2007>=) ! some info here
    http://www.techrepublic.com/blog/mso...k-for-you/3285
    http://chandoo.org/wp/2009/09/10/data-tables/
    http://office.microsoft.com/en-us/ex...010155686.aspx
    i only know coz i had a quick google look yesterday as i was confused too!
    back to school for all of us lol
    Last edited by martindwilson; 07-15-2012 at 11:27 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: #NA Errors in Data Table

    @Martin,

    When I do a Ctrl-T it puts autosort dropdowns on the top row of the table. How can we tell where this guys (the attached file above) table is. There are a few possibilities for his "Table". Also - look in the Names Manager for this file. There are lots of #Ref. Did he delete them? Also, as I was changing the formulas like Cutter suggested (to Aggregate - thanks Cutter for showing us that) the data in the table below changed. Why did it change? It looks like the guy is using solver and the rows are itterations of getting closer to an answer.

    I'm not convinced I know what that formula in N24 is doing still.

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: #NA Errors in Data Table

    i cant help there seems to be a lot of stuff in there new to 2010 eg STDEV.S and i haven't got 2010
    ah but it looks similar to what if analysis as shown here
    http://www.dummies.com/how-to/conten...ta-tables.html
    Last edited by martindwilson; 07-15-2012 at 11:58 AM.

+ 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