Hi all
Below is the table for the analysis:
- There can be various numbers of 'people' (rows) within in each group (can range up to 200 rows per group)
- I want to be able to analyse per row within each group
Ask:
Within each group, I want to say
- Oldest date column - identify the oldest date in each group and create a new column Oldest date
- Analyse within each group if the search date is older than the oldest date column (e.g. 3 Nov is older than 17 Nov so an older date was found from within the group)
- Where there is no individual search date,result should be cannot find search
| Group | ID | Rank in each group | Invidual Search | Oldest date in the group | Result |
| A | ABC | 1 | 17/11/2020 | 03/11/2020 | Older date was found |
| A | CDE | 2 | 17/11/2020 | 03/11/2020 | Older date was found |
| A | EFG | 3 | 03/11/2020 | 03/11/2020 | No older date was found |
| B | HIJ | 1 | | | Cannot Find Search |
| B | ERT | 2 | 27/10/2020 | 27/10/2020 | |
| C | FYU | 1 | 02/07/2020 | 02/07/2020 | No older date was found |
| C | SDV | 2 | 21/01/2021 | 02/07/2020 | Older date was found |
| C | BJY | 3 | 21/10/2020 | 02/07/2020 | Older date was found |
| C | GJY | 4 | | 02/07/2020 | Cannot Find Search |