?
Solved

Excel Question regarding formulas

Posted on 2006-07-20
3
Medium Priority
?
167 Views
Last Modified: 2010-04-30
I am using the following formula to compute the average of a set of numbers from a column if an associated number is greater then or equal to 4.

I would like to do the same thing but find the Min, Max and Median for Column B.

Column A and B are next to each other so if the number in A is greater than or equal to 4, I take the number next to it in column B and do the computation.

Any help would be appriciated, this stuff gives me a headache sometimes.

The formula I am using for Average of thes number is listed below and works fine.

Thanks,


=SUMIF(A1:A10,">=4",B1:B10)/COUNTIF(A1:A10,">=4")
0
Comment
Question by:wvbeaner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
mwharff earned 1000 total points
ID: 17148373
{=MAX(IF(a1:a10>4,b1:b10,""))}
{=MIN(IF(a1:a10>4,b1:b10,""))}
{=MEDIAN(a1:a10>4,b1:b10,""))}

These are array formulas.  Use Ctrl-Shift-Enter instead of just typing enter.

Hope this helps.

Mike
0
 

Author Comment

by:wvbeaner
ID: 17148645
Works Beautifully.  

Thanks for the quick response.
0
 
LVL 6

Expert Comment

by:mwharff
ID: 17148709
Thanks for the points and the grade.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

752 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