Question about MAX date

shdawson

Active Member
Joined
Jan 6, 2007
Messages
381
Hi,


What function would be the best to use for evaluating a range of rows and pick the MAX date from a particular column? In other words, the newest date?


Have some data that has 3 columns:
project id
report date
status indicator.


...with LOTS of rows.


This is output from a repository where people input the status of a task. That status changes now and again. The output I have contains all of the rows (entries) into this repository, by project id.

Need to look at the project date, figure out the newest date, then grab the status id.


Thanks...
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Thoughts on Formula:
Code:
=SUMPRODUCT(--('Status'!A$2:A$10000=C2),--MAX('Status'!A$2:A$10000),--GRAB('Status'!D$2:D$10000))


Not sure how to handle the MAX part.

GRAB is my psudeo-code to say...."get the value in the D column".


?


Thanks,
S
 
Upvote 0
GRAB is not an Excel function, but it sounds like VLOOKUP is what you are looking for. Perhaps

=VLOOKUP(MAX(A:A), ,A1:G10000, 7, FALSE)
 
Upvote 0
Yeah, GRAB is pseudo-code.

Your example does not account for consiering the project id value. Need to:

1) match project id
2) get the max date
3) grab the value in the statu id column


?
 
Upvote 0

Forum statistics

Threads
1,226,521
Messages
6,191,539
Members
453,662
Latest member
Xcelling

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top