+ Reply to Thread
Results 1 to 6 of 6

Type Mismatch error when calculating a set of functions on a multiple range

  1. #1
    Registered User
    Join Date
    06-11-2013
    Location
    Tampa
    MS-Off Ver
    Excel 2010
    Posts
    19

    Type Mismatch error when calculating a set of functions on a multiple range

    Hello,
    I have three sets named as ParameterArrrayRange(i) where i=1,2,3.
    I want to calculate mean and variance of each set and have a 2*3 table named as "ary_statistics" in excel.
    Here is what I've done:

    Please Login or Register  to view this content.
    But I get a Type mismatch error.
    Even when I change it to
    Please Login or Register  to view this content.
    it doesn't write anything in my matrix.

    Could you please help me with these problems?
    Thanks

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Type Mismatch error when calculating a set of functions on a multiple range

    Hi AnnaDanna,

    I have no access to the "ary_statistics" range but see if this works:

    Please Login or Register  to view this content.
    Last edited by xladept; 06-19-2013 at 03:47 PM. Reason: typo
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    06-11-2013
    Location
    Tampa
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Type Mismatch error when calculating a set of functions on a multiple range

    thank you XLAdept, but it didn't work!
    Is the only difference between my code and your that you don't define ParameterArrrayRange as a range?

    Please Login or Register  to view this content.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Type Mismatch error when calculating a set of functions on a multiple range

    That and the last loop index - I got it clean up to the "ary_statistics" which I couldn't use. Can you post a sample which includes all the necessities for the routine?

  5. #5
    Registered User
    Join Date
    06-11-2013
    Location
    Tampa
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Type Mismatch error when calculating a set of functions on a multiple range

    I double checked, but the last loop is the same as mine.

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Type Mismatch error when calculating a set of functions on a multiple range

    I got a discrepancy when I pasted what you posted - how about the sample?

    (Don't you love the alliteration?)

+ 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