A formula to select the highest cell in a column that then shows the entire row

AlphaRino

New Member
Joined
Apr 18, 2024
Messages
2
Office Version
  1. 2021
Platform
  1. Windows
I would like to do the following:

Find the highest cell in a column in an excel spreadsheet. Display that entire row.

I have a spreadsheet that tracks our Walks that shows



Number of Walks (Column B)

Date (Column C)

Location (Column D)

Distance in Miles (Column E)

Total Elevation in Feet (Column F)

Total Time HH:MM (Column G)

Moving Time HH:MM (Column H)

Stopped Time HH:MM (Column I)

Average Speed MPH (Column J)

Average Moving Speed MPH (Column K)



I would like to use formulas to display the entire row of the longest walk, the highest elevation and fastest walk etc. On a different Sheet
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
you should be able to use FILTER() to show that info
so assuming B2:K1000 - change range to suite

=FILTER(B2:K13,E2:E13=MAX(E2:E13))
will pull out the row with the highest mileage
you can use a + to include the other rows
=FILTER(B2:K13,(E2:E13=MAX(E2:E13))+(F2:F13=MAX(F2:F13)))
to pull out the shortest walk - then MIN total time
=FILTER(B2:K13,((E2:E13=MAX(E2:E13))+(F2:F13=MAX(F2:F13))+(G2:G13=MIN(G2:G13))*(B2:B13<>"")))
and to avoid blank cells where no data entered into WALK

for simplicity I have added to one sheet for display here

BUT to add to a different sheet - just add the sheetname to the range

Book5
ABCDEFGHIJK
1Number of Walks (Column B)Date (Column C)Location (Column D)Distance in Miles (Column E)Total Elevation in Feet (Column F)Total Time HH:MM (Column G)Moving Time HH:MM (Column H)Stopped Time HH:MM (Column I)Average Speed MPH (Column J)Average Moving Speed MPH (Column K)
211/1/23A11.211:32
321/2/23A24.621:45
431/3/23A312.132:45
541/4/23A42.141:32
651/5/23A51.151:45
761/6/23A63.4111:02
871/7/23A73.1421:32
981/8/23A82.8731:45
1091/9/23A92.641:02
11101/10/23A102.3351:32
12111/11/23A112.0661:45
13
14
15
16
17
18
19344929A312.1302:45:000000
20644932A63.41101:02:000000
21944935A92.6401:02:000000
221144937A112.06601:45:000000
Sheet1
Cell Formulas
RangeFormula
B19:K22B19=FILTER(B2:K13,((E2:E13=MAX(E2:E13))+(F2:F13=MAX(F2:F13))+(G2:G13=MIN(G2:G13))*(B2:B13<>"")))
Dynamic array formulas.
 
Upvote 0
Solution
Perfect Thanks
Please note:
In the future, when marking a post as the solution, please mark the actual post containing the solution, not your own post acknowledging some other post is the solution.
I have gone ahead and updated this thread for you.
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,269
Members
452,628
Latest member
dd2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top