Solved

Median with an IF

Posted on 2014-09-26
3
109 Views
Last Modified: 2014-09-26
=MEDIAN(IF(Combined!I:I=ASP,Combined!R:R))

Thats my formula, im getting a name error

Im trying to get the median of the amounts in Col R if the corresponding entry in I = ASP

Thanks
0
Comment
Question by:Seamus2626
  • 2
3 Comments
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40346256
You are missing the quotation marks around ASP.

=MEDIAN(IF(Combined!I:I="ASP",Combined!R:R))
0
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40346260
It should also be done as an array formula, so instead of pressing Return at the end of the formula, you should press Shift+Ctrl+Enter.
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 40346267
I assume you would also need to enter as an Array Formula using Ctrl + Shift + Enter.

Thanks
Rob H
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question