#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Thrain
 
Posts: n/a
Default Minif / Maxif ?


value category
0.48 1
0.64 1
0.70 1
0.74 1
0.76 1
0.45 2
.....

I want to return the MIX or MAX of value for category 1, then category
2, etc. The output must be displayed in a seperate work worksheet like
this:

category min max
1 XX XX
2 XX XX

XX represents what I am trying to solve for. Any help? All replies are
greatly appreciated. thx!


--
Thrain
------------------------------------------------------------------------
Thrain's Profile: http://www.excelforum.com/member.php...o&userid=29192
View this thread: http://www.excelforum.com/showthread...hreadid=489274

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Minif / Maxif ?

=MIN(IF(Sheet1!$B$2:$B$200=$A2,Sheet2!$A$2:$A$200) )

which is an array formula, so commit with Ctrl-Shift-Energy, and thenj

=MAX(IF(Sheet1!$B$2:$B$200=$A2,Sheet2!$A$2:$A$200) )

etc.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Thrain" wrote in
message ...

value category
0.48 1
0.64 1
0.70 1
0.74 1
0.76 1
0.45 2
....

I want to return the MIX or MAX of value for category 1, then category
2, etc. The output must be displayed in a seperate work worksheet like
this:

category min max
1 XX XX
2 XX XX

XX represents what I am trying to solve for. Any help? All replies are
greatly appreciated. thx!


--
Thrain
------------------------------------------------------------------------
Thrain's Profile:

http://www.excelforum.com/member.php...o&userid=29192
View this thread: http://www.excelforum.com/showthread...hreadid=489274



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Thrain
 
Posts: n/a
Default Minif / Maxif ?


Bob Phillips Wrote:
=MIN(IF(Sheet1!$B$2:$B$200=$A2,Sheet2!$A$2:$A$200) )

which is an array formula, so commit with Ctrl-Shift-Energy, and thenj

=MAX(IF(Sheet1!$B$2:$B$200=$A2,Sheet2!$A$2:$A$200) )

etc.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Thrain" wrote
in
message ...

value category
0.48 1
0.64 1
0.70 1
0.74 1
0.76 1
0.45 2
....

I want to return the MIX or MAX of value for category 1, then

category
2, etc. The output must be displayed in a seperate work worksheet

like
this:

category min max
1 XX XX
2 XX XX

XX represents what I am trying to solve for. Any help? All replies

are
greatly appreciated. thx!


--
Thrain

------------------------------------------------------------------------
Thrain's Profile:

http://www.excelforum.com/member.php...o&userid=29192
View this thread:

http://www.excelforum.com/showthread...hreadid=489274



Thank you very much! This worked perfectly. One last question, is there
a way to avoid setting a limit on rows? Currently, you have 2 to 200
used in the formula and the amount of rows in my table could grow. I am
not familiar with using the $ to refence cells, so I do not know how to
do this.

Thank you!!!!!


--
Thrain
------------------------------------------------------------------------
Thrain's Profile: http://www.excelforum.com/member.php...o&userid=29192
View this thread: http://www.excelforum.com/showthread...hreadid=489274

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Minif / Maxif ?

You can't use whole columns because it is an array formula, but you can get
close

=MIN(IF(Sheet1!$B$2:$B$65535=Sheet2!$A2,$A$2:$A$65 535))

still an array formula

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Thrain" wrote in
message ...

Bob Phillips Wrote:
=MIN(IF(Sheet1!$B$2:$B$200=$A2,Sheet2!$A$2:$A$200) )

which is an array formula, so commit with Ctrl-Shift-Energy, and thenj

=MAX(IF(Sheet1!$B$2:$B$200=$A2,Sheet2!$A$2:$A$200) )

etc.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Thrain" wrote
in
message ...

value category
0.48 1
0.64 1
0.70 1
0.74 1
0.76 1
0.45 2
....

I want to return the MIX or MAX of value for category 1, then

category
2, etc. The output must be displayed in a seperate work worksheet

like
this:

category min max
1 XX XX
2 XX XX

XX represents what I am trying to solve for. Any help? All replies

are
greatly appreciated. thx!


--
Thrain

------------------------------------------------------------------------
Thrain's Profile:

http://www.excelforum.com/member.php...o&userid=29192
View this thread:

http://www.excelforum.com/showthread...hreadid=489274



Thank you very much! This worked perfectly. One last question, is there
a way to avoid setting a limit on rows? Currently, you have 2 to 200
used in the formula and the amount of rows in my table could grow. I am
not familiar with using the $ to refence cells, so I do not know how to
do this.

Thank you!!!!!


--
Thrain
------------------------------------------------------------------------
Thrain's Profile:

http://www.excelforum.com/member.php...o&userid=29192
View this thread: http://www.excelforum.com/showthread...hreadid=489274



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
MINIF /MAXIF Or something similar kraljb Excel Discussion (Misc queries) 6 November 11th 05 11:06 PM
MaxIF instead of SumIF Steven Excel Discussion (Misc queries) 3 February 9th 05 02:31 AM
Excel Maxif Tom Hollies via OfficeKB.com Excel Worksheet Functions 6 February 7th 05 07:34 PM
maxif Gregg Excel Worksheet Functions 4 December 29th 04 12:52 AM


All times are GMT +1. The time now is 04:18 PM.

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

About Us

"It's about Microsoft Excel"