Thread: Min functions
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default Min functions

If you copy and pasted it then array enter it then it should work


Mike


"DaveN" wrote:

Thanks for your help Mike, the first formula works perfectly, but when i
enter the 2nd formula for the date i only get #REF!. Any ideas why?

"Mike H" wrote:

You'll want to drag them for the other names so make the references absolute


=INDEX($A$1:$A$8,MIN(IF($B$1:$B$8=E1,$C$1:$C$8,FAL SE)))

Mike

"Mike H" wrote:

Dave,

For the minimum value use
=MIN(IF(B1:B8=E1,C1:C8,FALSE))

For the date use
=INDEX(A1:A8,MIN(IF(B1:B8=E1,C1:C8,FALSE)))

In both cases E1 is the name.

Both of these are array formula and must be entered by pressing
CTRL+Shift+Enter and NOT by simply pressing enter. If you do it correctly
then Excel will put curly brackets around the formula {}. You can't type
these yourself.

Mike


"DaveN" wrote:

Hi,

I have a spreadsheet with dates in column A, names in column B and results
in the form of numbers in column C. Some of the cells in columns B and C are
blank. I then have a list of all the names in column E. Like this:
A B C E F G
01/01/08 Peter 5 Peter
01/02/08 James
01/03/08 James 4 Dan
01/04/08 Henry
01/05/08 Peter 3
01/06/08 Dan 1
01/07/08 Henry 1
01/08/08 Dan 4

My problem is that in columns F and G, I want to display the minimum value
(from C) and the date in which this result took place. The results i want
would to show a Peter 3 01/05/08, James 4 01/03/08, Henry 1 01/07/08 and
Dan 1 01/06/08.

Can anyone help?