Hi All,
In the attached excel sheet, i like to idenitfy the max expiry date, associated commencement date and finally display the result in a pivot as below. I have attached the sample workflow to illustrate the desired result.
Desired Result:
| Tenant Code | Tenancy_Commencement_Date | Original_Lease_Expiry_Date | Seventh_lease_commencement_date | Seventh_lease_expiry_date |
| 40401 | | | 2015-10-19 | 2016-10-18 |
| 52090 | 2015-08-24 | 2016-08-23 | | |
Thanks