Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Display value in same row of most recent date in a different column

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.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default Display value in same row of most recent date in a different column

=IF(A1=MAX(A:A),A1,"")

and copy down.

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


wrote in message
ups.com...
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.



  #3   Report Post  
Posted to microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Display value in same row of most recent date in a different column

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:D,MATCH(LARGE(A:A,ROW(A1)),A:A,0))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
wrote in message
ups.com...
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.



  #4   Report Post  
Posted to microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Display value in same row of most recent date in a different colum

"galimi" wrote
=VLOOKUP(MIN(A1:A7),A1:D7,2,FALSE)&VLOOKUP(MIN(A1: A7),A1:D7,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
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
Recent documents don't display danappofc Excel Discussion (Misc queries) 2 April 17th 10 07:36 PM
Display Recent enetnag New Users to Excel 1 April 5th 09 03:41 AM
How do I display the most recent "modified" date in Excel sheets? Curious Cat Excel Worksheet Functions 5 October 29th 07 01:59 AM
i NEED TO PULL OUT THE MOST RECENT DATE FROM A COLUMN- Public Utility 555 Excel Worksheet Functions 4 January 5th 07 09:39 PM
How to find the most recent date in a column based on other column Veretax Excel Worksheet Functions 7 October 18th 06 05:01 PM


All times are GMT +1. The time now is 10:42 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"