SOLVED
Find the earliest date from a list
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
salemalnahdi14
6 - Meteoroid
11-27-2022
07:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi, would love some help in automating finding the earliest date of purchase from the dataset below:
For example, I have this dataset:
Product ID | Quantity Purchased | Purchase Date |
1 | 3 | 1/24/2022 |
1 | 2 | 5/22/2022 |
1 | 5 | 8/15/2022 |
2 | 4 | 2/14/2022 |
2 | 7 | 4/12/2022 |
3 | 2 | 8/23/2022 |
I would love my output to look like this, extracting the earliest purchase date for each product:
Product ID | Quantity Purchased | Purchase Date |
1 | 3 | 1/24/2022 |
2 | 4 | 2/14/2022 |
3 | 2 | 8/23/2022 |
Thanks!
Solved! Go to Solution.
Labels:
- Labels:
- Help
- Tips and Tricks
- Workflow
5 REPLIES 5
flying008
15 - Aurora
11-27-2022
07:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
KrishnaChithrathil
11 - Bolide
11-27-2022
09:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
DenisZ
11 - Bolide
11-27-2022
10:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
binuacs
21 - Polaris
11-28-2022
12:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
bgorhamaan
5 - Atom
12-23-2024
12:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
However this won't work if there are multiple rows with the same minimum [purchase] date for each [Product] ID (which was how my dataset is). I had to go with the Sort and Sample method.
