Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 414
Default max reference cooresponding cell

Calling all Brilliant Excel veterans!

I have a row of 25+ cells with dates in them. I need a function that will
find the most recent date in the row and then reference the coresponding
label in the row above...

Is there a way?

I have used the max function and that will find the most recent date in the
row... Now how do I get it to reference the text label in the row above. In
other words, I need the function to scan the row for the most recent date and
then reference the coresponding cell above and populate the function cell
with the text/label.

Any advice? Does that make sense?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default max reference cooresponding cell

Replace the ranges in here with your own ranges

=INDEX(G5:N5,,MATCH(MAX(G6:N6),G6:N6,0))

G5:N5 is the label range
G6:N6 is the date range

"Andy" wrote:

Calling all Brilliant Excel veterans!

I have a row of 25+ cells with dates in them. I need a function that will
find the most recent date in the row and then reference the coresponding
label in the row above...

Is there a way?

I have used the max function and that will find the most recent date in the
row... Now how do I get it to reference the text label in the row above. In
other words, I need the function to scan the row for the most recent date and
then reference the coresponding cell above and populate the function cell
with the text/label.

Any advice? Does that make sense?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default max reference cooresponding cell

=INDEX(A1:Y1, MATCH(MAX(A2:Y2),A2:Y2,0))


"Andy" wrote:

Calling all Brilliant Excel veterans!

I have a row of 25+ cells with dates in them. I need a function that will
find the most recent date in the row and then reference the coresponding
label in the row above...

Is there a way?

I have used the max function and that will find the most recent date in the
row... Now how do I get it to reference the text label in the row above. In
other words, I need the function to scan the row for the most recent date and
then reference the coresponding cell above and populate the function cell
with the text/label.

Any advice? Does that make sense?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 414
Default max reference cooresponding cell

Thanks Duke! That did it! You're incredible!

Andy

"Duke Carey" wrote:

Replace the ranges in here with your own ranges

=INDEX(G5:N5,,MATCH(MAX(G6:N6),G6:N6,0))

G5:N5 is the label range
G6:N6 is the date range

"Andy" wrote:

Calling all Brilliant Excel veterans!

I have a row of 25+ cells with dates in them. I need a function that will
find the most recent date in the row and then reference the coresponding
label in the row above...

Is there a way?

I have used the max function and that will find the most recent date in the
row... Now how do I get it to reference the text label in the row above. In
other words, I need the function to scan the row for the most recent date and
then reference the coresponding cell above and populate the function cell
with the text/label.

Any advice? Does that make sense?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 414
Default max reference cooresponding cell

THanks MAMA!

"Teethless mama" wrote:

=INDEX(A1:Y1, MATCH(MAX(A2:Y2),A2:Y2,0))


"Andy" wrote:

Calling all Brilliant Excel veterans!

I have a row of 25+ cells with dates in them. I need a function that will
find the most recent date in the row and then reference the coresponding
label in the row above...

Is there a way?

I have used the max function and that will find the most recent date in the
row... Now how do I get it to reference the text label in the row above. In
other words, I need the function to scan the row for the most recent date and
then reference the coresponding cell above and populate the function cell
with the text/label.

Any advice? Does that make sense?

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
Nesting a sheet name reference within a cell reference??? Broyston Excel Discussion (Misc queries) 9 July 8th 08 08:35 PM
Formulas that reference cells that reference another cell Andrea Excel Discussion (Misc queries) 7 October 19th 06 08:14 AM
absolute cell reference A spreadsheet cell reference that does no help Excel Discussion (Misc queries) 1 January 18th 06 06:56 PM
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. [email protected] Excel Worksheet Functions 2 December 11th 04 12:05 AM
Problem with =sum(offset(cell reference,w,x,y,z). I want cell reference to be variable [email protected] Excel Worksheet Functions 2 December 11th 04 12:00 AM


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