Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / March 2008

Tip: Looking for answers? Try searching our database.

Returning adjacent values

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chris miller - 28 Mar 2008 02:29 GMT
I have a column A with dates and column B with data. I'm trying to create a
summary sheet. I use the max function on column B, which is easy, but I am
also trying to place the corresponding date (to the max value) on the summary
sheet as well. I've tried using the lookup function but it seems to return
the last value in the date row? Any help would be greatly appreciated
T. Valko - 28 Mar 2008 02:52 GMT
Try this:

=INDEX(A:A,MATCH(MAX(B:B),B:B,0))

Signature

Biff
Microsoft Excel MVP

>I have a column A with dates and column B with data. I'm trying to create a
> summary sheet. I use the max function on column B, which is easy, but I am
> also trying to place the corresponding date (to the max value) on the
> summary
> sheet as well. I've tried using the lookup function but it seems to return
> the last value in the date row? Any help would be greatly appreciated
Pete_UK - 28 Mar 2008 02:57 GMT
Have a look at the INDEX and MATCH functions.

Pete

>I have a column A with dates and column B with data. I'm trying to create a
> summary sheet. I use the max function on column B, which is easy, but I am
> also trying to place the corresponding date (to the max value) on the
> summary
> sheet as well. I've tried using the lookup function but it seems to return
> the last value in the date row? Any help would be greatly appreciated
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.