Hello Everyone,
I have 3 columns of information. Column A with Client-ID, Column B with Product_ID and Column C with Date of Purchase. In Column D, I want to, after analysing the 3 columns, have it return the first date of the next purchase, IF the same client has purchased the same product in a future date. Just to be clear, if the client has purchased the same product in multiple dates, I only need the first date. Tried Index Match but can't figure out how to make the dates work. Hopefully the table below illustrates well what I need. Many thanks.
[td]10002
[/td]
[td]MVM
[/td]
[td]27/12/2017
[/td]
[td]0
[/td]
I have 3 columns of information. Column A with Client-ID, Column B with Product_ID and Column C with Date of Purchase. In Column D, I want to, after analysing the 3 columns, have it return the first date of the next purchase, IF the same client has purchased the same product in a future date. Just to be clear, if the client has purchased the same product in multiple dates, I only need the first date. Tried Index Match but can't figure out how to make the dates work. Hopefully the table below illustrates well what I need. Many thanks.
Client_ID | Product_ID | Date_Purchase | Next Purchase |
23178 | GBD | 27/12/2017 | 29/12/2017 |
27844 | KSD | 27/12/2017 | 0 |
12345 | DIO | 27/12/2017 | 0 |
32413 | DCV | 28/12/2017 | 0 |
57665 | KJS | 28/12/2017 | 0 |
12312 | EMA | 28/12/2017 | 0 |
43768 | DSL | 28/12/2017 | 0 |
45823 | POD | 28/12/2017 | 0 |
68893 | BHW | 28/12/2017 | 0 |
23694 | ENH | 29/12/2017 | 0 |
23178 | GBD | 29/12/2017 | 03/01/2018 |
9253 | RAK | 29/12/2017 | 0 |
32791 | JXD | 29/12/2017 | 0 |
91287 | XSD | 29/12/2017 | 0 |
45724 | XLK | 29/12/2017 | 0 |
74856 | IDS | 30/12/2017 | 03/01/2018 |
10002 | CVB | 30/12/2017 | 0 |
23178 | ADS | 30/12/2017 | 0 |
34572 | IND | 02/01/2018 | 0 |
23567 | ORA | 02/01/2018 | 0 |
78932 | ODB | 02/01/2018 | 0 |
82638 | POD | 02/01/2018 | 0 |
67283 | GER | 02/01/2018 | 0 |
27844 | CRG | 03/01/2018 | 0 |
23178 | GBD | 03/01/2018 | 0 |
74856 | IDS | 03/01/2018 | 0 |
[/td]
[td]MVM
[/td]
[td]27/12/2017
[/td]
[td]0
[/td]