[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Excel Question regarding formulas

Posted on 2006-07-20
3
Medium Priority
?
168 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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

656 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