Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Using vlookup in a table that is not in ascending order

I have a table with the 1st column in ascending order but the column I wish
to find the maximum value in is not in ascending order. When I use vlookup
it just returns the last number in the first column not the number that
corresponds to the max number. If I could attach the spreadsheet to be more
specific I would. Thanks in advance..
--
Duncan
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Using vlookup in a table that is not in ascending order

Do you want to return the value from the left column that corresponds to the
MAX value in the right column?

=INDEX(A1:A10,MATCH(MAX(B1:B10),B1:B10,0))

--
Biff
Microsoft Excel MVP


"Parks" wrote in message
...
I have a table with the 1st column in ascending order but the column I wish
to find the maximum value in is not in ascending order. When I use
vlookup
it just returns the last number in the first column not the number that
corresponds to the max number. If I could attach the spreadsheet to be
more
specific I would. Thanks in advance..
--
Duncan



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Using vlookup in a table that is not in ascending order

Yes
--
Duncan


"T. Valko" wrote:

Do you want to return the value from the left column that corresponds to the
MAX value in the right column?

=INDEX(A1:A10,MATCH(MAX(B1:B10),B1:B10,0))

--
Biff
Microsoft Excel MVP


"Parks" wrote in message
...
I have a table with the 1st column in ascending order but the column I wish
to find the maximum value in is not in ascending order. When I use
vlookup
it just returns the last number in the first column not the number that
corresponds to the max number. If I could attach the spreadsheet to be
more
specific I would. Thanks in advance..
--
Duncan




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Using vlookup in a table that is not in ascending order

I tried the index function and I get the #N/A responce. Is there anyway I
can post the spreadsheet?
--
Duncan


"T. Valko" wrote:

Do you want to return the value from the left column that corresponds to the
MAX value in the right column?

=INDEX(A1:A10,MATCH(MAX(B1:B10),B1:B10,0))

--
Biff
Microsoft Excel MVP


"Parks" wrote in message
...
I have a table with the 1st column in ascending order but the column I wish
to find the maximum value in is not in ascending order. When I use
vlookup
it just returns the last number in the first column not the number that
corresponds to the max number. If I could attach the spreadsheet to be
more
specific I would. Thanks in advance..
--
Duncan




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Using vlookup in a table that is not in ascending order

Hi,

Check your "number" column, it might be formatted as text!

Regards!
Jean-Guy

"Parks" wrote:

I have a table with the 1st column in ascending order but the column I wish
to find the maximum value in is not in ascending order. When I use vlookup
it just returns the last number in the first column not the number that
corresponds to the max number. If I could attach the spreadsheet to be more
specific I would. Thanks in advance..
--
Duncan

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why must the table for Vlookup be sorted in ascending order? Epinn New Users to Excel 3 August 12th 06 08:04 AM
Digits in ascending order ? toyota58 Excel Worksheet Functions 2 February 3rd 06 06:47 PM
Pivot Table Ascending Order of Row Field ExcelMonkey Excel Discussion (Misc queries) 1 August 19th 05 12:11 AM
Order Data in Pivot Table Non ascending or Decending [email protected] Excel Discussion (Misc queries) 1 June 3rd 05 01:00 PM
Is there a VLOOKUP substitute when data is not in ascending order VJ7777 Excel Worksheet Functions 2 January 19th 05 08:32 AM


All times are GMT +1. The time now is 03:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"