<HTML
><HEAD
><TITLE
>QUARTILE</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.54"><LINK
REL="HOME"
TITLE="Gnumeric's user manual"
HREF="gnumeric.html"><LINK
REL="UP"
TITLE="Reference"
HREF="function-reference.html#AEN1187"><LINK
REL="PREVIOUS"
TITLE="TYPE"
HREF="r7291.html"><LINK
REL="NEXT"
TITLE="GETPIVOTDATA"
HREF="r7347.html"></HEAD
><BODY
CLASS="REFENTRY"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Gnumeric's user manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="r7291.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="r7347.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="AEN7311"
><A
NAME="GNUMERIC-QUARTILE"
></A
>QUARTILE</A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN7316"
></A
><H2
>Name</H2
>QUARTILE&nbsp;--&nbsp;</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN7319"
></A
><H2
>Synopsis</H2
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SYNOPSIS"
>QUARTILE(array,quart)</PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN7321"
></A
><H2
>Description</H2
><P
>QUARTILE function returns the quartile of the given data points.  </P
><P
>If quart is equal to:  QUARTILE returns:</P
><P
>0                      the smallest value of @array.</P
><P
>1                      the first quartile</P
><P
>2                      the second quartile</P
><P
>3                      the third quartile</P
><P
>4                      the largest value of @array.</P
><P
></P
><P
>If @array is empty, QUARTILE returns #NUM! error. If @quart &#60; 0 or @quart &#62; 4, QUARTILE returns #NUM! error. If @quart is not an integer, it is truncated. This function is Excel compatible. </P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN7332"
></A
><H2
>Examples</H2
><P
></P
><P
>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</P
><P
>QUARTILE(A1:A5,1) equals 17.3.</P
><P
></P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN7338"
></A
><H2
>See also</H2
><P
>        <A
HREF="r9840.html#GNUMERIC-LARGE"
>LARGE</A
>
,         <A
HREF="r5882.html#GNUMERIC-MAX"
>MAX</A
>
,         <A
HREF="r3665.html#GNUMERIC-MEDIAN"
>MEDIAN</A
>
,         <A
HREF="r3641.html#GNUMERIC-MIN"
>MIN</A
>
,         <A
HREF="r2960.html#GNUMERIC-PERCENTILE"
>PERCENTILE</A
>
,         <A
HREF="r8255.html#GNUMERIC-SMALL"
>SMALL</A
>
      </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="r7291.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="gnumeric.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="r7347.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
NAME="GNUMERIC-TYPE"
></A
>TYPE</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="function-reference.html#AEN1187"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
NAME="GNUMERIC-GETPIVOTDATA"
></A
>GETPIVOTDATA</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>