+ Reply to Thread
Results 1 to 5 of 5

Quartile with IF function

  1. #1
    Registered User
    Join Date
    10-19-2017
    Location
    Holland
    MS-Off Ver
    2013
    Posts
    8

    Quartile with IF function

    So I wanna use the quartile function in combination with the IF function.

    I have football data and I wanna use the cells of a particular team.
    So I created this formula:
    =QUARTILE(IF(E$8:E$1618=D$1621,N$8:N$1618),1)
    D$1621 is the cell with name of the team I choose. E$8:E:1618 is the column with the teamnames. N8:N1618 is the data I want the first quartile of.

    But I keep getting #value error.

    I added the workbook.
    Attached Files Attached Files
    Last edited by nodejo; 10-25-2017 at 09:08 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,993

    Re: Quartile with IF function

    That's because it needs to be entered as an array formula, confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,993

    Re: Quartile with IF function

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  4. #4
    Registered User
    Join Date
    10-19-2017
    Location
    Holland
    MS-Off Ver
    2013
    Posts
    8

    Re: Quartile with IF function

    Oh wow! Im such a noob. Thank so much.

    I have one last question. Now I got the quartiles of the HO/AO column per team, I would like to create a column for the Average, Average home odds (average of row S) for those quartiles.
    Let me explain it better. The quartiles that I got out of this for Ho/AO is 0.0820, 0.2576 3.623 7.964. Now I want a column that has a IF function that required the selected team and requires a Ho/AO value between the 1 and 2nd quartile.

    I hope I made myself clear, sorry if I didnt.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,993

    Re: Quartile with IF function

    This is a different query. Please mark this thread as solved and start a new thread. Thanks.

+ 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. [SOLVED] Conditional Quartile.INC function
    By nzgin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-08-2016, 04:40 AM
  2. Replies: 1
    Last Post: 08-05-2013, 01:52 PM
  3. Correlation for 1st quartile, 2nd quartile, 3rd quartile, 4th quartile
    By DexterG in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-11-2013, 07:17 AM
  4. Excel 2007 : Quartile If
    By cloud36 in forum Excel General
    Replies: 3
    Last Post: 07-13-2012, 05:37 PM
  5. Replies: 3
    Last Post: 06-01-2012, 02:06 PM
  6. [SOLVED] Quartile / Quintile Function
    By Greg in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-20-2005, 11:06 PM
  7. Quartile Function
    By tika528 in forum Excel General
    Replies: 5
    Last Post: 03-16-2005, 09:25 AM

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