+ Reply to Thread
Results 1 to 8 of 8

Ztest and multiple arrays of data?

Hybrid View

  1. #1
    Registered User
    Join Date
    08-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    4

    Ztest and multiple arrays of data?

    Trying to make the Ztest formula work, and normally I know how to but not in this situation, it keeps giving me the #value sign. I'm trying to do a Ztest for a certain array of numbers that excludes some cells. For example.


    A1
    A2
    A3
    A4


    I am trying to do a ztest only on the values in A1, A2, and A4 while excluding A3. (In actuality, I'm trying to do something like this over 160 cells) The Excel formula and how it works is not letting me exclude A3.


    Thanks for any help!

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Ztest and multiple arrays of data?

    Have you tried selecting just those cells and naming the range?

    And then referencing the named range instead?

  3. #3
    Registered User
    Join Date
    08-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Ztest and multiple arrays of data?

    Quote Originally Posted by daffodil11 View Post
    Have you tried selecting just those cells and naming the range?

    And then referencing the named range instead?
    Never thought of that, I'll give it a try.

  4. #4
    Registered User
    Join Date
    08-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Ztest and multiple arrays of data?

    Tried it out, it did not work. Tried creating the name and clicked "Use in Formula" but it did not work....

  5. #5
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Ztest and multiple arrays of data?

    Are you sure you did it right?

    Under Formulas, click the Name Manager. Hit New, Name the Range (I called mine zRange), then select the cells you want in that range, and hit okay.

    Then somewhere type =ztest(zRange,[xvalue]) and it should work.

    Attachment 260288

  6. #6
    Registered User
    Join Date
    08-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Ztest and multiple arrays of data?

    I ended up doing it right, but now I'm limited to the amount of entries I can put in it. Why does this limit exist?

  7. #7
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Ztest and multiple arrays of data?

    Do you mean you're limited to the amount of ranges per equation, or the amount of named ranges you can create?

    The limitations on the number of named ranges is a function of your computer's memory.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  8. #8
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,378

    Re: Ztest and multiple arrays of data?

    As a quick check, I put some random data into a spreadsheet and included a few text strings in the array. It appears that the Ztest function will ignore text strings in calculating the ztest score. My suggestion would then be to use a helper column =IF(condition for including point in ztest,a3,"not used"). This helper column then becomes the array argument for the z function.

    See if that helps.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Arrays across multiple sheets from Massive data
    By Parth2013 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-22-2013, 09:51 PM
  2. Replies: 3
    Last Post: 01-22-2013, 03:22 PM
  3. Search multiple worksheets for multiple arrays
    By member72661 in forum Excel General
    Replies: 1
    Last Post: 12-14-2010, 06:44 AM
  4. Data from multiple arrays
    By Inkling in forum Excel General
    Replies: 8
    Last Post: 11-07-2009, 03:51 AM
  5. sum of multiple arrays
    By paula k in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-17-2006, 03:40 PM

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