Column Numbers

  • Thread starter Thread starter Doug Terry
  • Start date Start date
D

Doug Terry

How do I get the column number of the minimum value in a row?
Example:
A B C D
4 9 2.5 7

How do I get the column number of 3? I'd like to use this value in a lookup
function in another location.

Thanks,
 
Try this in A2

=LOOKUP(2,1/(A1:D1=MIN(A1:D1)),COLUMN(1:1))

Change D, in D1 in the formula, to the column letter if you want to extend
the range...
 
Thanks very much everyone. This answers my question and will greatly
simplify finding things in a large spreadsheet)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top