Min / Max

Nickel

New Member
Joined
Oct 28, 2011
Messages
8
Hi All

I need to select a min and max value based on a multiple condition. E.g.

Year Level Salary
2010 1 100
2011 2 130
2010 1 90
2011 2 150
2010 1 130
2011 2 200

I need a formula that would return min, max values for 2010 and 2011 separately
Min Max
2010 XX yyy
2011 xx yyy

I have MS Excel 2003.

Many thanks in advance
Niel
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hi there,

Try:

=MAX(IF(A2:A7=2010,C2:C7))

and

=MIN(IF(A2:A7=2010,C2:C7))

Confirm both with CTRL, SHIFT + ENTER - not just ENTER.
 
Upvote 0
Thanks James

My situation is more complex.

I need to be able to choose it for a specifit level. In may example there is only one level in 2010 but what if I had Level 1 and 2.

I need the min and max values for noth.
 
Upvote 0
For the same data base i need to count the number specific levels in a specific year. Please help guys. N
 
Upvote 0
I realize your question is already answered, just as an alternative...Maybe you like to give this a try.

Excel Workbook
ABCDEFGHIJ
1Year Level SalaryYear Level SalaryMinMaxCount
22010110020101100902
3201125020112502003
42010190
520112150
620102130
720112200
Sheet1
#VALUE!


 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top