Solved

Excel Question regarding formulas

Posted on 2006-07-20
3
164 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
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
mwharff earned 250 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

828 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