I have a list of date and time rows, with multiple rows per day. For each unique date I want to get the min and max time values.
How would one go about doing this in Excel v10 (aka 2002)?
I have a list of date and time rows, with multiple rows per day. For each unique date I want to get the min and max time values.
How would one go about doing this in Excel v10 (aka 2002)?
First, you could do this with Excel functions MIN(range) and MAX(range), but then you would have to construct a convoluted function to determine the range of rows with the given date.
Second, you could construct a pivot table... Using the date column for the rows, and having values of min time and max time, selecting from the time column and formatted as a time.
You may filter the data in-place by adding subtotals. First add subtotals with minimum(value), then again with maximum(value) without removing the previous subtotals. Then hide 3-d level rows to show only min and max values for each date.
If you have the list of unique dates, you can get min/max value for any particular date with formula =MAX(IF(CellWithTheDate=Date_Range,Value_Range,""))
entered as an array formula
The list of unique dates may be produced by extended autofilter on date column (there's a checkbox for unique values) either in-place or by making a copy.