A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

MIN with a condition



 
 
Thread Tools Display Modes
  #1  
Old June 15th, 2004, 04:48 PM
Sarah
external usenet poster
 
Posts: n/a
Default MIN with a condition

I am having no luck writing a formula that will return
the MIN value from column B when column A = "Admin".

Example data:

A B
Admin 5
Mktg 10
Supplies 4
Admin 12
Admin 6
Mktg 5

I want the formulat to return the value of 5 for a MIN if
A=Admin.

Help is appreciated!
  #2  
Old June 15th, 2004, 04:53 PM
Andy B
external usenet poster
 
Posts: n/a
Default MIN with a condition

Hi

=MIN(IF(A2:A7="Admin",B2:B7))

You need to array-enter this by confirming the formula with Ctrl Shift and
Enter, instead of just Enter. If you do it right, Excel will enclose the
formula in curly brackets {}

--
Andy.


"Sarah" wrote in message
...
I am having no luck writing a formula that will return
the MIN value from column B when column A = "Admin".

Example data:

A B
Admin 5
Mktg 10
Supplies 4
Admin 12
Admin 6
Mktg 5

I want the formulat to return the value of 5 for a MIN if
A=Admin.

Help is appreciated!



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:48 AM.


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