Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Lookup / return latest date in range AND value of 1 column to the

Hello!

I have a range of dates in a single row. Every other cell in the row is a
date, with the remaining alternating cells in the row being revision #'s for
that date (formatted as a 1 or 2 digit numeric and an alpha. e.g. 8C or
13A). Starting with revision #, then date, revision #, date, etc. The first
couple of columns in the worksheet are for the latest revision and it's date
for the record in that row, with many entries down the length of the row.

I discovered how to return the latest date with =MAX(B10:Y10). Now what I
need to do is this; where that date occurs in the row, I need to also grab
the revision number which is always 1 column to the left of that date. I
haven't found any way to do this.

Help!? THANKS SO MUCH!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Lookup / return latest date in range AND value of 1 column to the

try:

=INDEX(B10:Y10,0,MATCH(MAX(B10:Y10),B10:Y10,0)-1)

"wellan" wrote:

Hello!

I have a range of dates in a single row. Every other cell in the row is a
date, with the remaining alternating cells in the row being revision #'s for
that date (formatted as a 1 or 2 digit numeric and an alpha. e.g. 8C or
13A). Starting with revision #, then date, revision #, date, etc. The first
couple of columns in the worksheet are for the latest revision and it's date
for the record in that row, with many entries down the length of the row.

I discovered how to return the latest date with =MAX(B10:Y10). Now what I
need to do is this; where that date occurs in the row, I need to also grab
the revision number which is always 1 column to the left of that date. I
haven't found any way to do this.

Help!? THANKS SO MUCH!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Lookup / return latest date in range AND value of 1 column to

Excellent. Exactly what I needed. Much appreciated!!

"Toppers" wrote:

try:

=INDEX(B10:Y10,0,MATCH(MAX(B10:Y10),B10:Y10,0)-1)

"wellan" wrote:

Hello!

I have a range of dates in a single row. Every other cell in the row is a
date, with the remaining alternating cells in the row being revision #'s for
that date (formatted as a 1 or 2 digit numeric and an alpha. e.g. 8C or
13A). Starting with revision #, then date, revision #, date, etc. The first
couple of columns in the worksheet are for the latest revision and it's date
for the record in that row, with many entries down the length of the row.

I discovered how to return the latest date with =MAX(B10:Y10). Now what I
need to do is this; where that date occurs in the row, I need to also grab
the revision number which is always 1 column to the left of that date. I
haven't found any way to do this.

Help!? THANKS SO MUCH!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9,101
Default Lookup / return latest date in range AND value of 1 column to the

match will tell you the relative posigion of the maximum data.
Offset will get the data from that cell
=OFFSET(B10,0,MATCH(MAX(B10:X10),B10:X10,0),1,1)

"wellan" wrote:

Hello!

I have a range of dates in a single row. Every other cell in the row is a
date, with the remaining alternating cells in the row being revision #'s for
that date (formatted as a 1 or 2 digit numeric and an alpha. e.g. 8C or
13A). Starting with revision #, then date, revision #, date, etc. The first
couple of columns in the worksheet are for the latest revision and it's date
for the record in that row, with many entries down the length of the row.

I discovered how to return the latest date with =MAX(B10:Y10). Now what I
need to do is this; where that date occurs in the row, I need to also grab
the revision number which is always 1 column to the left of that date. I
haven't found any way to do this.

Help!? THANKS SO MUCH!

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
Lookup Value in Range/Array and Return Column Header Value [email protected] Excel Discussion (Misc queries) 3 June 16th 06 07:05 PM
Lookup Value in Range/Array and Return Column Header Value [email protected] Excel Worksheet Functions 3 June 16th 06 07:05 PM
Return the latest date from a list of dates davidp Excel Worksheet Functions 8 March 18th 05 12:48 AM
Function to return the latest non-zero value in a range of cells . hungryman Excel Worksheet Functions 2 January 24th 05 02:54 PM
Lookup the latest date in a range so it appears as my result FBB Excel Discussion (Misc queries) 1 December 4th 04 03:50 AM


All times are GMT +1. The time now is 12:31 PM.

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

About Us

"It's about Microsoft Excel"