×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Find out where the max/min is

Find out where the max/min is

Find out where the max/min is

(OP)
Hello everybody,

I have a simple problem which I cannot solve... Example: I have on column A the position number (1,2,3, ...) and on column B different values (measurement values). I can very easy put in a cell the maximal (or minimal) value of my B column using the "max" ("min") function, but how can I put near that cell another one with the position number where this maximal (minimal) value is? And, if possible, without using macros...
Thank you in advance for your answers!

Donnis

RE: Find out where the max/min is

try following rmula to find index of maximum value in the range: = match(max(B1:B10),B1:B10,0)

RE: Find out where the max/min is

If you swapped your column A and column B, you could use

=+vlookup(max(A1:A5),A1:B5,2,FALSE)

Alternatively, you could leave A and B as is, put a duplicate copy your position numbers out into column AA, and use
=+vlookup(max(B1:B5),B1:AA5,26,FALSE)
That's a little cumbesome and assumes you don't have any data out there. I don't really like extra hidden columns because it's easy to forget about them when you change your data.

Maybe there are some other ways?

=====================================
Eng-tips forums: The best place on the web for engineering discussions.

RE: Find out where the max/min is

While this may not help you acheive your particular goal, I do this graphically by applying the max (or min) function and then conditional format the column of numbers to BOLD any numbers that match the result of the max (or min) function.  Good Luck

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources