answersLogoWhite

0


Best Answer

The most critical aspect of this problem is to use an array formula. After you type the formula into a the cell you need to press CTRL+SHIFT+ENTER instead of just ENTER. This lets Excel know you want to evaluate an array (collection of cells in multiple columns) all at once, instead of considering just single cells or columns.

There are three main parts to this equation.

1) Add all the values in column 2 that correspond to specific values in column 1.

=SUM(IF(C3:C12>1,D3:D12,0))

2) Determine how many values in column 2 correspond to specific values in column 1.

=COUNT(IF(C3:C12>1,MATCH(D3:D12,D3:D12,0)))

3) Divide the SUM by the COUNT.

=SUM(IF(C3:C12>1,D3:D12,0))/COUNT(IF(C3:C12>1,MATCH(D3:D12,D3:D12,0)))

EXAMPLE SETUP:

- Put evaluation critera in C3:C12 (values that include > 1)

- Put results in D3:D12 (values for which you want to find the median)

- Put the following formula in D13:

=SUM(IF(C3:C12>1,D3:D12,0))/COUNT(IF(C3:C12>1,MATCH(D3:D12,D3:D12,0)))

After you press CTRL+SHIFT+ENTER you will see the following in the formula bar for D13:

{=SUM(IF(C3:C12>1,D3:D12,0))/COUNT(IF(C3:C12>1,MATCH(D3:D12,D3:D12,0)))}

NOTE: If you see the #VALUE! error message in the cell, that probably means you pressed ENTER instead of the combination of CTRL+SHIFT+ENTER to tell Excel you want to use an array. If you just surround the formula with {} and press enter, you still will get the error message. You must use CTRL+SHIFT+ENTER to enter an array formula.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write a single formula for two columns of data to find the median of the second column for all values that are greater than 1 in the first column?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

When skewed right is the mean greater than median?

When a distribution is skewed to the right, the mean is greater than median.


Can the mean be greater than the median?

Yes.


What is the formula to find the median of a trapezoid?

you just simply cut it in half and you'll have the median


How to find the median of a log normal distribution?

The formula is: median of lognormal = exp(u)


What are some numbers that the mean is bigger than the median and the median is greater than the mode?

7,6,4,92,57,32


What is the formula for the median?

n+1/2


What does the median of a set of data tell you?

The median is the midpoint of the data set. So half the observations are greater than the median and half are smaller.


What would the median number be of the numbers 012345?

The median of a set of numbers is the value that has an equal count of numbers greater and less. In this example there are three numbers greater and three numbers less than 2.5, so the median is 2.5.


What is the formula for median location?

N+1/2


What is the nature of symmetry if median is greater than the mean?

Generally, when the median is greater than the mean it is because the distribution is skewed to the left. This results in outliers or values further below the median than above the median which results in a lower mean value than median value. When a distribution is skewed left, it is generally not very symmetrical or normally distributed.


What is the Excel formula for Median quartile 1?

If you want to get the median of numbers within the first quartile, you have to use the QUARTILE, MEDIAN and IF functions together and then enter it as an array formula. Say your values are in the cells from E2 to E27. =MEDIAN( IF( E2:E27<=QUARTILE( E2:E27,1 ), E2:E27 ) ) To enter it as an array formula, you must press Ctrl- Shift - Enter together. The formula will then appear with curly braces around it, indicating that it is an array function.


Formula to find the median of a trapezoid?

b1+b2/2