Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Daniel Bonallack
 
Posts: n/a
Default Best time question

I've tried to search for MIN with multiple criteria, but had difficultly
applying the examples

I record running times, and I want to get the best time for a given day. So
column A has the date, and column B has the number of seconds. Column C
should show the day's best time (so it would be repeated for each row where
the date is the same).

For example, A2:A10 all have today's date. B2:B10 have times in seconds.
If B5 is the fastest time, the time in B5 would display in C2:C10.
Cells A11:A23 have yesterday's date - etc - I need the C2 formula to copy
down.

Thanks in advance

Daniel
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
in C2 enter the following array formula (entered with CTRL+SHIFT+ENTER)
=IF(B2=MIN(IF($A$2:$A$100=A2,$B$2:$B$100)),B2,"")
and copy down

--
Regards
Frank Kabel
Frankfurt, Germany

Daniel Bonallack wrote:
I've tried to search for MIN with multiple criteria, but had
difficultly applying the examples

I record running times, and I want to get the best time for a given
day. So column A has the date, and column B has the number of
seconds. Column C should show the day's best time (so it would be
repeated for each row where the date is the same).

For example, A2:A10 all have today's date. B2:B10 have times in
seconds. If B5 is the fastest time, the time in B5 would display in
C2:C10.
Cells A11:A23 have yesterday's date - etc - I need the C2 formula to
copy down.

Thanks in advance

Daniel



  #3   Report Post  
Dave R.
 
Posts: n/a
Default

Luckily you are OK with C2:C10 ALL containing the best time for a date. If
you only wanted it to appear once it would be trickier.

=MIN(IF(A$2:A$10=A2,B$2:B$10))

entered with control-shift-enter.

Note that b2:b10 must contain times, if it is just text like ":30" you
should use something like;

=MIN(IF(A$2:A$10=A2,--SUBSTITUTE(B$2:B$10,":","")))

also entered with ctrl-shift-enter.



"Daniel Bonallack" wrote in
message ...
I've tried to search for MIN with multiple criteria, but had difficultly
applying the examples

I record running times, and I want to get the best time for a given day.

So
column A has the date, and column B has the number of seconds. Column C
should show the day's best time (so it would be repeated for each row

where
the date is the same).

For example, A2:A10 all have today's date. B2:B10 have times in seconds.
If B5 is the fastest time, the time in B5 would display in C2:C10.
Cells A11:A23 have yesterday's date - etc - I need the C2 formula to copy
down.

Thanks in advance

Daniel



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
entering numbers to display a time format Ian Williams/Eazygig Excel Discussion (Misc queries) 1 January 10th 05 11:57 AM
Help - Information with time and date PM Excel Discussion (Misc queries) 4 January 6th 05 08:25 AM
Time Question Kelly Thompson Excel Discussion (Misc queries) 8 December 30th 04 10:35 PM
time sheet Rusty Boy Excel Worksheet Functions 2 December 2nd 04 03:49 PM
time formatting and time categorizing (vlookup or data validation) MarianneR Excel Worksheet Functions 4 November 18th 04 03:24 PM


All times are GMT +1. The time now is 09:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"