In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Vlookup for minimum or maximum date

johnnykoung
8 - Asteroid

Hi,

I have a set of data with an ID and a start date and end date. It looks like this:

ID     Start Date     End Date
1       7/1/2019       12/31/2019

1       8/1/2019        11/29/2019

2       2/1/2019          5/1/2019

2       3/1/2019          6/1/2019

If I just get a unique list of IDs (in this case the list would be 1,2), how could I join/vlookup the minimum start date for that ID and the maximum end date for that ID? The end result should come out to

ID     Start Date     End Date
1       7/1/2019       12/31/2019
2       2/1/2019        6/1/2019

Thanks,

Johnny

 

2 REPLIES 2
NickSm
Alteryx
Alteryx

@johnnykoung 


Summarize tool actually works really well for this. Just have to have the dates in the recognized date format of yyyy-MM-dd

 

clipboard_image_0.png

johnnykoung
8 - Asteroid

That's perfect, thank you! Didn't realize the summarize function had those options.

Labels
Top Solution Authors