PC Review


Reply
Thread Tools Rate Thread

Column Numbers

 
 
Doug Terry
Guest
Posts: n/a
 
      18th Nov 2008
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,
--
Doug Terry
 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      18th Nov 2008
Hi,

=MATCH(MIN(A11),A11,0)

Mike

"Doug Terry" wrote:

> 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,
> --
> Doug Terry

 
Reply With Quote
 
Niek Otten
Guest
Posts: n/a
 
      18th Nov 2008
Hi Doug,

=MATCH(MIN(A11),A11,0)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Doug Terry" <(E-Mail Removed)> wrote in message
news:C7635392-3AF8-4043-8867-(E-Mail Removed)...
> 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,
> --
> Doug Terry


 
Reply With Quote
 
Sheeloo
Guest
Posts: n/a
 
      18th Nov 2008
Try this in A2

=LOOKUP(2,1/(A11=MIN(A11)),COLUMN(1:1))

Change D, in D1 in the formula, to the column letter if you want to extend
the range...

"Doug Terry" wrote:

> 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,
> --
> Doug Terry

 
Reply With Quote
 
Doug Terry
Guest
Posts: n/a
 
      19th Nov 2008
Thanks very much everyone. This answers my question and will greatly
simplify finding things in a large spreadsheet)
--
Doug Terry


"Doug Terry" wrote:

> 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,
> --
> Doug Terry

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing A Column Of Text numbers To True Numbers: How ? Robert11 Microsoft Excel New Users 2 4th Mar 2009 09:08 PM
Excel, change column of negative numbers to positive numbers? Nita Microsoft Excel New Users 3 27th Nov 2007 04:54 AM
Converting a Column of Numbers Displayed as Text to Numbers cardan Microsoft Excel Programming 4 12th Sep 2007 05:45 PM
Can I change a column of calculated numbers to absolute numbers? =?Utf-8?B?S2F0ZSBCaXNzZWxs?= Microsoft Excel Misc 3 25th Oct 2006 06:10 PM
Excel Formula - Add column of numbers but ignore negative numbers =?Utf-8?B?dmlldyBmb3IgRGlzdHJpYnV0aW9uIExpc3QgbWVt Microsoft Excel Worksheet Functions 1 7th Apr 2006 03:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:42 AM.