Thanks I'll try those
just a thought when I used arrays last time It was slow to calculated and the spreadsheet slowed down. Is there a away without using an array ?
Two options...
[TABLE="width: 288"]
<COLGROUP><COL style="WIDTH: 48pt" span=6 width=64><TBODY>[TR]
[TD="class: xl63, width: 64, bgcolor: white"]
time[/TD]
[TD="class: xl63, width: 64, bgcolor: white"]
delay[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl64, width: 64, bgcolor: white"]
9:00[/TD]
[TD="class: xl66, width: 64, bgcolor: transparent"] [/TD]
[TD="class: xl66, width: 64, bgcolor: transparent"]
time[/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, bgcolor: white"]
9:00[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
100[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]
609[/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]
9:00[/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, bgcolor: white"]
9:00[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
200[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]
609[/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, bgcolor: white"]
9:00[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
50[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, bgcolor: white"]
9:00[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
299[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, bgcolor: white"]
9:00[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
499[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, bgcolor: white"]
9:00[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
609[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, bgcolor: white"]
10:00[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
100[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, bgcolor: white"]
10:00[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
243[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, bgcolor: white"]
10:00[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
435[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, bgcolor: white"]
9:00[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
355[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, bgcolor: white"]
9:00[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
444[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, bgcolor: white"]
11:00[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
743[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, bgcolor: white"]
11:00[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
123[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, bgcolor: white"]
9:00[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
543[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl64, width: 64, bgcolor: white"]
9:00[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
512[/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl63, width: 64, bgcolor: white"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: transparent"] [/TD]
[/TR]
</TBODY>[/TABLE]
[1]
D2, just enter:
=AGGREGATE(16,6,B2:B16/(A2:A16=D1),1)
[2]
F3, just enter:
=DMAX(A1:B16,2,F1:F2)