Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default How to look up a value?

There are two lists under column A and B,
Under column A, there is a list of date and under column B, there is a list
of price, and I would like to search for the maximum value under column B and
return the date under column A for this maximum value.
Does anyone have any suggestion on how to do it?
Thank for any suggestions
Eric
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 230
Default How to look up a value?

Have you looked at the Auto Filter facility? If your columns have headers,
click in a cell below the headers and then go to Data, Auto filter on the
menubar. Click the filter arrows that should appear next to the headers and
use the options there-in.

Rob

"Eric" wrote in message
...
There are two lists under column A and B,
Under column A, there is a list of date and under column B, there is a
list
of price, and I would like to search for the maximum value under column B
and
return the date under column A for this maximum value.
Does anyone have any suggestion on how to do it?
Thank for any suggestions
Eric



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How to look up a value?

Try something like:

=INDEX(A1:A100,MATCH(MAX(B1:B100),B1:B100,0))

Adjust the ranges to suit, and format the cell as a date.

Hope this helps.

Pete

On May 3, 10:26 am, Eric wrote:
There are two lists under column A and B,
Under column A, there is a list of date and under column B, there is a list
of price, and I would like to search for the maximum value under column B and
return the date under column A for this maximum value.
Does anyone have any suggestion on how to do it?
Thank for any suggestions
Eric



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default How to look up a value?

Thank everyone very much for suggestions
Eric

"Pete_UK" wrote:

Try something like:

=INDEX(A1:A100,MATCH(MAX(B1:B100),B1:B100,0))

Adjust the ranges to suit, and format the cell as a date.

Hope this helps.

Pete

On May 3, 10:26 am, Eric wrote:
There are two lists under column A and B,
Under column A, there is a list of date and under column B, there is a list
of price, and I would like to search for the maximum value under column B and
return the date under column A for this maximum value.
Does anyone have any suggestion on how to do it?
Thank for any suggestions
Eric




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



All times are GMT +1. The time now is 12:28 AM.

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"