Re: Using Min & Max to sort log times.



Assume data is in row 2 to 100 in cols A to C as posted

In D2, array-enter ie press CTRL+SHIFT+ENTER:
=IF(COUNTA(A2:B2)<2,"",IF(SUMPRODUCT((A$2:A2=A2)*(B$2:B2=B2))>1,"",MIN(IF((A$2:A$100=A2)*(B$2:B$100=B2)*(C$2:C$100>0),C$2:C$100))))

In E2, array-enter ie press CTRL+SHIFT+ENTER:
=IF(COUNTA(A2:B2)<2,"",IF(SUMPRODUCT((A$2:A2=A2)*(B$2:B2=B2))>1,"",MAX(IF((A$2:A$100=A2)*(B$2:B$100=B2)*(C$2:C$100>0),C$2:C$100))))

Then select D2:E2, copy down to row100.
Adapt the ranges to suit
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"J.W. Aldridge" <jeremy.w.aldridge@xxxxxxxxx> wrote in message
news:cb388363-1857-4846-bec7-aa9806bf171f@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I have a list of data that I am trying to get my peoples actual
production time down.
I have their names in A, Dates in B, Times they moved work in C.
I need to know the time they started working to the last time logged
(min time value vs. the max time value in column C) for each name &
date in A.
D = the min time for Joe, then Amy
E= the max time logged for each.


A B C D E

JOE 2/14 3:01 3:01 3:15
JOE 2/14 3:15
JOE 2/14 3:30
AMY 2/14 3:31 3:31 4:15
AMY 2/14 4:00
AMY 2/14 4:15



Any ideas or suggestions???




.



Relevant Pages

  • Re: Single Array from Multiple Ranges
    ... "Joe Adams" wrote in message ... >>A range has a parent which is the worksheet. ... >>support working with multisheet ranges. ... >>Tom Ogilvy ...
    (microsoft.public.excel.programming)
  • Re: Headache?
    ... Joe was shocked and depressed. ... He entered the shop and told the salesman, "I'd like a new suit. ... on the shirt and it fit perfectly. ...
    (alt.gathering.rainbow)
  • Re: Headache?
    ... which causes your testicles to press on your spine and the pressure creates ... Joe was shocked and depressed. ... He entered the shop and told the salesman, "I'd like a new suit. ...
    (alt.gathering.rainbow)
  • Re: can fscanf skip reading data conditionally?
    ... joe 100 ... An advantage of sscanf() is that it doesn't consume its input; ... pass the same string to it again with a different format. ...
    (comp.lang.c)
  • Re: The importance of a Second Opinion
    ... The doctor said, "Joe, the good news is I can cure your headaches. ... he was without a headache for the first ... new suit." ... A as Joe admired himself in the mirror, the salesman asked, "How about ...
    (alt.support.chronic-pain)