• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to quickly find the highest value in a table?

aadesh28

New Member
I have a table of data imported from a csv file. There are 10 columns across the top. Down the side there are a couple of hundred rows representing dates/times.

For each of the 10 columns, I need to determine the date/time when its value was the highest. Of course I could plot a visual graph and look for peaks, but I'm hoping for a faster way to do this. Is there some trick or macro that would accomplish this very quickly? Thanks in advance.
 
In the attached, a table of data and in the Totals row at the bottom a formula of the ilk:
=INDEX([dt],MATCH(MAX([val1]),[val1],0))
If there are 2 or more maxima of the same value it will return the first (highest in the table).
It doesn't need to be a table, you can use non-structured references instead.
72903
 

Attachments

  • Chandoo45575.xlsx
    10.7 KB · Views: 3
Back
Top