Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 229
Default Max/Min function help

Hello everybody. I maintain our school data in exce. The following is marks
data
NO Sec English maths Science Social
1A1 1A 25 25 25 25
1A10 1A 25 25 24 25
1A11 1A 24 22 24 25
1A12 1A 25 25 23 24
1A13 1A 25 23 25 20
1B1 1B 20 24 23 22
1B10 1B 20 24 21 23
1B11 1B 20 18 22 23
1B12 1B 22 18 25 24
1B13 1B 20 18 23 23
1B14 1B 20 18 22 23
2A1 2A 23 23 25 24
2A10 2A 24 23 20 25
2A11 2A 24 22 24 25
2A12 2A 22 25 25 25
2A13 2A 24 25 23 25
2A14 2A 24 24 25 25
2A15 2A 22 25 25 24
2A16 2A 25 24 25 25
In sheet2 SEC(say 1B) in A1, and in B1 the subject(Maths). I want the
max/min score of the subeject*sec. When i change the values in a1 or b1 it
has to update.
Thanks to all for your help in advance.
With kind regards
Sridhar
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Max/Min function help

Try these array formulas**:

MIN:

=MIN(IF(Sheet1!B2:B20=A1,INDEX(Sheet1!C2:F20,,MATC H(B1,Sheet1!C1:F1,0))))

MAX:

=MAX((Sheet1!B2:B20=A1)*(INDEX(Sheet1!C2:F20,,MATC H(B1,Sheet1!C1:F1,0))))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"yshridhar" wrote in message
...
Hello everybody. I maintain our school data in exce. The following is
marks
data
NO Sec English maths Science Social
1A1 1A 25 25 25 25
1A10 1A 25 25 24 25
1A11 1A 24 22 24 25
1A12 1A 25 25 23 24
1A13 1A 25 23 25 20
1B1 1B 20 24 23 22
1B10 1B 20 24 21 23
1B11 1B 20 18 22 23
1B12 1B 22 18 25 24
1B13 1B 20 18 23 23
1B14 1B 20 18 22 23
2A1 2A 23 23 25 24
2A10 2A 24 23 20 25
2A11 2A 24 22 24 25
2A12 2A 22 25 25 25
2A13 2A 24 25 23 25
2A14 2A 24 24 25 25
2A15 2A 22 25 25 24
2A16 2A 25 24 25 25
In sheet2 SEC(say 1B) in A1, and in B1 the subject(Maths). I want the
max/min score of the subeject*sec. When i change the values in a1 or b1
it
has to update.
Thanks to all for your help in advance.
With kind regards
Sridhar



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 229
Default Max/Min function help

Thanks alot Mr. Biff for your EXCELlent formula. It works for my data and
that is what i need.
With kind regards
Sridhar

"T. Valko" wrote:

Try these array formulas**:

MIN:

=MIN(IF(Sheet1!B2:B20=A1,INDEX(Sheet1!C2:F20,,MATC H(B1,Sheet1!C1:F1,0))))

MAX:

=MAX((Sheet1!B2:B20=A1)*(INDEX(Sheet1!C2:F20,,MATC H(B1,Sheet1!C1:F1,0))))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"yshridhar" wrote in message
...
Hello everybody. I maintain our school data in exce. The following is
marks
data
NO Sec English maths Science Social
1A1 1A 25 25 25 25
1A10 1A 25 25 24 25
1A11 1A 24 22 24 25
1A12 1A 25 25 23 24
1A13 1A 25 23 25 20
1B1 1B 20 24 23 22
1B10 1B 20 24 21 23
1B11 1B 20 18 22 23
1B12 1B 22 18 25 24
1B13 1B 20 18 23 23
1B14 1B 20 18 22 23
2A1 2A 23 23 25 24
2A10 2A 24 23 20 25
2A11 2A 24 22 24 25
2A12 2A 22 25 25 25
2A13 2A 24 25 23 25
2A14 2A 24 24 25 25
2A15 2A 22 25 25 24
2A16 2A 25 24 25 25
In sheet2 SEC(say 1B) in A1, and in B1 the subject(Maths). I want the
max/min score of the subeject*sec. When i change the values in a1 or b1
it
has to update.
Thanks to all for your help in advance.
With kind regards
Sridhar




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Max/Min function help

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"yshridhar" wrote in message
...
Thanks alot Mr. Biff for your EXCELlent formula. It works for my data and
that is what i need.
With kind regards
Sridhar

"T. Valko" wrote:

Try these array formulas**:

MIN:

=MIN(IF(Sheet1!B2:B20=A1,INDEX(Sheet1!C2:F20,,MATC H(B1,Sheet1!C1:F1,0))))

MAX:

=MAX((Sheet1!B2:B20=A1)*(INDEX(Sheet1!C2:F20,,MATC H(B1,Sheet1!C1:F1,0))))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"yshridhar" wrote in message
...
Hello everybody. I maintain our school data in exce. The following is
marks
data
NO Sec English maths Science Social
1A1 1A 25 25 25 25
1A10 1A 25 25 24 25
1A11 1A 24 22 24 25
1A12 1A 25 25 23 24
1A13 1A 25 23 25 20
1B1 1B 20 24 23 22
1B10 1B 20 24 21 23
1B11 1B 20 18 22 23
1B12 1B 22 18 25 24
1B13 1B 20 18 23 23
1B14 1B 20 18 22 23
2A1 2A 23 23 25 24
2A10 2A 24 23 20 25
2A11 2A 24 22 24 25
2A12 2A 22 25 25 25
2A13 2A 24 25 23 25
2A14 2A 24 24 25 25
2A15 2A 22 25 25 24
2A16 2A 25 24 25 25
In sheet2 SEC(say 1B) in A1, and in B1 the subject(Maths). I want the
max/min score of the subeject*sec. When i change the values in a1 or
b1
it
has to update.
Thanks to all for your help in advance.
With kind regards
Sridhar






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 229
Default Max/Min function help

Mr. Biff i need a more refinement if i am not troubling. I want to put a
cutoff mark in C1 and count the number of pupil less than the cutoff mark.
Can it be possible?
With kind regards
Sridhar

"T. Valko" wrote:

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"yshridhar" wrote in message
...
Thanks alot Mr. Biff for your EXCELlent formula. It works for my data and
that is what i need.
With kind regards
Sridhar

"T. Valko" wrote:

Try these array formulas**:

MIN:

=MIN(IF(Sheet1!B2:B20=A1,INDEX(Sheet1!C2:F20,,MATC H(B1,Sheet1!C1:F1,0))))

MAX:

=MAX((Sheet1!B2:B20=A1)*(INDEX(Sheet1!C2:F20,,MATC H(B1,Sheet1!C1:F1,0))))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"yshridhar" wrote in message
...
Hello everybody. I maintain our school data in exce. The following is
marks
data
NO Sec English maths Science Social
1A1 1A 25 25 25 25
1A10 1A 25 25 24 25
1A11 1A 24 22 24 25
1A12 1A 25 25 23 24
1A13 1A 25 23 25 20
1B1 1B 20 24 23 22
1B10 1B 20 24 21 23
1B11 1B 20 18 22 23
1B12 1B 22 18 25 24
1B13 1B 20 18 23 23
1B14 1B 20 18 22 23
2A1 2A 23 23 25 24
2A10 2A 24 23 20 25
2A11 2A 24 22 24 25
2A12 2A 22 25 25 25
2A13 2A 24 25 23 25
2A14 2A 24 24 25 25
2A15 2A 22 25 25 24
2A16 2A 25 24 25 25
In sheet2 SEC(say 1B) in A1, and in B1 the subject(Maths). I want the
max/min score of the subeject*sec. When i change the values in a1 or
b1
it
has to update.
Thanks to all for your help in advance.
With kind regards
Sridhar








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Max/Min function help

If I understand, try this:

=SUMPRODUCT(--(Sheet1!B2:B20=A1),--(INDEX(Sheet1!C2:F20,,MATCH(B1,Sheet1!C1:F1,0))<C1 ))

--
Biff
Microsoft Excel MVP


"yshridhar" wrote in message
...
Mr. Biff i need a more refinement if i am not troubling. I want to put a
cutoff mark in C1 and count the number of pupil less than the cutoff mark.
Can it be possible?
With kind regards
Sridhar

"T. Valko" wrote:

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"yshridhar" wrote in message
...
Thanks alot Mr. Biff for your EXCELlent formula. It works for my data
and
that is what i need.
With kind regards
Sridhar

"T. Valko" wrote:

Try these array formulas**:

MIN:

=MIN(IF(Sheet1!B2:B20=A1,INDEX(Sheet1!C2:F20,,MATC H(B1,Sheet1!C1:F1,0))))

MAX:

=MAX((Sheet1!B2:B20=A1)*(INDEX(Sheet1!C2:F20,,MATC H(B1,Sheet1!C1:F1,0))))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"yshridhar" wrote in message
...
Hello everybody. I maintain our school data in exce. The following
is
marks
data
NO Sec English maths Science Social
1A1 1A 25 25 25 25
1A10 1A 25 25 24 25
1A11 1A 24 22 24 25
1A12 1A 25 25 23 24
1A13 1A 25 23 25 20
1B1 1B 20 24 23 22
1B10 1B 20 24 21 23
1B11 1B 20 18 22 23
1B12 1B 22 18 25 24
1B13 1B 20 18 23 23
1B14 1B 20 18 22 23
2A1 2A 23 23 25 24
2A10 2A 24 23 20 25
2A11 2A 24 22 24 25
2A12 2A 22 25 25 25
2A13 2A 24 25 23 25
2A14 2A 24 24 25 25
2A15 2A 22 25 25 24
2A16 2A 25 24 25 25
In sheet2 SEC(say 1B) in A1, and in B1 the subject(Maths). I want
the
max/min score of the subeject*sec. When i change the values in a1
or
b1
it
has to update.
Thanks to all for your help in advance.
With kind regards
Sridhar








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
Nested IF Function, Date Comparing, and NetworkDays Function carl Excel Worksheet Functions 2 December 29th 04 09:57 PM


All times are GMT +1. The time now is 05:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"