+ Reply to Thread
Results 1 to 2 of 2

Averaging data from a list between the nth percentiles

  1. #1
    Registered User
    Join Date
    04-30-2010
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2008 MAC
    Posts
    2

    Averaging data from a list between the nth percentiles

    How does the asterisk work in the below formula? I like the elegance, but I am scared to use it as I am unsure of the function.

    Thanks

    Relevant info from a prior post:

    "=AVERAGE(IF((PERCENTRANK(A1:A10,A1:A10)>0.6)*(PERCENTRANK(A1:A10,A1:A10)<0.95),A1:A10))

    Again array entered."

    http://www.excelforum.com/excel-work...ml#post2298058

  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: Averaging data from a list between the nth percentiles

    On the left and right sight of the asterisk are logical expressions in parens. The asterisk is the ordinary multiplication operator.

    When logical expressions are used in arithmetic operations, they are first coerced from True/False to 1/0 respectively, so the multiplication serves to AND the two expressions.

    The parens are wrapped around the expressions to force the correct order of evaluation; see Operator Precedence in Help to understand why they are needed, or take them out and see how the expression evaluates without them.
    Entia non sunt multiplicanda sine necessitate

+ 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