Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Min of range where other col has a value

Hi, I'm trying to pull the min number from a col, where the value in another
col is defined.
ie.
A 5
B 2
A 2
C 7
A 10
B 1
C 5

I need to pull the min for A. I looked up DMIN but the Help doesn't do my
any good. Thought combo of MIN and SUMPRODUCT might work but can't get the
syntax right.

Anyone know how to do this?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Min of range where other col has a value

Try this array** formula:

=MIN(IF(A1:A7="A",B1:B7))

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

Biff

"Pete Derkowski" wrote in message
...
Hi, I'm trying to pull the min number from a col, where the value in
another col is defined.
ie.
A 5
B 2
A 2
C 7
A 10
B 1
C 5

I need to pull the min for A. I looked up DMIN but the Help doesn't do
my any good. Thought combo of MIN and SUMPRODUCT might work but can't
get the syntax right.

Anyone know how to do this?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Min of range where other col has a value

Yep! That did the trick.

Thanks Biff!




"T. Valko" wrote in message
...
Try this array** formula:

=MIN(IF(A1:A7="A",B1:B7))

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

Biff

"Pete Derkowski" wrote in message
...
Hi, I'm trying to pull the min number from a col, where the value in
another col is defined.
ie.
A 5
B 2
A 2
C 7
A 10
B 1
C 5

I need to pull the min for A. I looked up DMIN but the Help doesn't do
my any good. Thought combo of MIN and SUMPRODUCT might work but can't
get the syntax right.

Anyone know how to do this?





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Min of range where other col has a value

You're welcome. Thanks for the feedback!

Biff

"Pete Derkowski" wrote in message
...
Yep! That did the trick.

Thanks Biff!




"T. Valko" wrote in message
...
Try this array** formula:

=MIN(IF(A1:A7="A",B1:B7))

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

Biff

"Pete Derkowski" wrote in message
...
Hi, I'm trying to pull the min number from a col, where the value in
another col is defined.
ie.
A 5
B 2
A 2
C 7
A 10
B 1
C 5

I need to pull the min for A. I looked up DMIN but the Help doesn't
do my any good. Thought combo of MIN and SUMPRODUCT might work but
can't get the syntax right.

Anyone know how to do this?







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
automatic range - named range give me circular reference... George Thorogood Excel Discussion (Misc queries) 0 February 22nd 07 07:53 PM
Excel Addin:Setting the range to the Excel.Range object range prop Rp007 Excel Worksheet Functions 5 November 24th 06 04:30 PM
Selecting range in list of range names depending on a cell informa Courreges Excel Discussion (Misc queries) 2 June 19th 06 10:59 AM
formula to sort a range so that it matches the exact rows of a column that is outside that range? steveo Excel Discussion (Misc queries) 1 June 18th 06 02:05 AM
How to count dates within a certain range in a column with mutiple date range entries Krisjhn Excel Worksheet Functions 2 September 1st 05 01:59 PM


All times are GMT +1. The time now is 12:04 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"