PC Review


Reply
Thread Tools Rate Thread

Display value in same row of most recent date in a different column

 
 
MPSingley@midamerican.com
Guest
Posts: n/a
 
      27th Dec 2006
A B C D
1 3/30/1994 C - 0
2 4/1/1995 C - 0
3 4/15/2003 H - 0
4 5/6/2003 C - 0

I need to Display the value in column B and D corresponding to the row
with the most recent date.
I realize this seems rather easy, but for the life of me I can't figure
this one out.
Thank you for any help.

 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      27th Dec 2006
=IF(A1=MAX(A:A),A1,"")

and copy down.

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> A B C D
> 1 3/30/1994 C - 0
> 2 4/1/1995 C - 0
> 3 4/15/2003 H - 0
> 4 5/6/2003 C - 0
>
> I need to Display the value in column B and D corresponding to the row
> with the most recent date.
> I realize this seems rather easy, but for the life of me I can't figure
> this one out.
> Thank you for any help.
>



 
Reply With Quote
 
Max
Guest
Posts: n/a
 
      27th Dec 2006
One way, assuming dates in col A are real and unique ..

Return from col B for most recent date:
=INDEX(B:B,MATCH(LARGE(A:A,ROW(A1)),A:A,0))

Similarly, return from col D for most recent date:
=INDEX(D,MATCH(LARGE(A:A,ROW(A1)),A:A,0))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> A B C D
> 1 3/30/1994 C - 0
> 2 4/1/1995 C - 0
> 3 4/15/2003 H - 0
> 4 5/6/2003 C - 0
>
> I need to Display the value in column B and D corresponding to the row
> with the most recent date.
> I realize this seems rather easy, but for the life of me I can't figure
> this one out.
> Thank you for any help.
>



 
Reply With Quote
 
Max
Guest
Posts: n/a
 
      29th Dec 2006
"galimi" wrote
> =VLOOKUP(MIN(A1:A7),A17,2,FALSE)&VLOOKUP(MIN(A1:A7),A17,4,FALSE)


Based on the OP's spec:
> ... corresponding to the row with the most recent date.


should the MIN be MAX instead ?
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


 
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
macro filter column for most recent date flymo Microsoft Excel Programming 3 20th Jun 2007 02:06 PM
How to find the most recent date in a column based on other column =?Utf-8?B?VmVyZXRheA==?= Microsoft Excel Worksheet Functions 7 18th Oct 2006 05:01 PM
Display record with most recent date Ivor Williams Microsoft Access Forms 1 4th Apr 2006 03:04 AM
SQL query to display only most recent date? =?Utf-8?B?TmVpbCBAIERlbGZpbiBFbmdsaXNoIFNjaG9vbA== Microsoft Access VBA Modules 2 17th Jan 2006 10:02 PM
Display only matches with most recent date Andy Lavery Microsoft Access Queries 3 13th Aug 2003 09:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:15 AM.