+ Reply to Thread
Results 1 to 3 of 3

Non Array QUARTILE and STDEV IF Formula

  1. #1
    Registered User
    Join Date
    04-19-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    6

    Non Array QUARTILE and STDEV IF Formula

    Hi everyone,

    I'm wondering is there a way of of writing non array formula to calculate the Quartile and Stdev values of a range of data based on the dates of said data

    The following formula calculate what I need but since they are array formula and I need the formula repeated for a large number of rows, it slows down excel calc processing too much:

    {=QUARTILE(IF((E:E=R10),K:K),3)}

    {=STDEV(IF((E:E=R10),K:K))}

    Col E contains list of dates
    Col R contains date criteria (used for IF condition)
    Col K contains values to calculate Quartile & Stdev from

    Is there any way of using Index in the same way you might do for calculating the MAX in a non array formula? E.g. =MAX(INDEX(($E$10:$E$5005=$R10)*$K$10:$K$5005,0))

    Cheers

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Non Array QUARTILE and STDEV IF Formula

    Assuming the dates are sorted, you could calculate the first and last rows containing the dates in separate cells, and then use those to index the column for your other calculations.

    =stdev(index(k:k, firstrow):index(k:k, lastrow))
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    04-19-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    6

    Re: Non Array QUARTILE and STDEV IF Formula

    Hmm, yea cheers, I resorted to using a workaround solution with a matrix of dates & calcs based and applying just a basic QUARTILE and STDEV formulae for each date row (with values pulled with lookups etc)

+ 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