Hello, the below is a scenario for ordering items and I'm looking to calculate the number of days between each for each item. Once I have the days, I can't seem to figure out how to calculate this.
Any help would be greatly appreciated. Red font would be the expected results.
Thanks!
Any help would be greatly appreciated. Red font would be the expected results.
Thanks!
Order Date (colA) | Item (colB) | # Ordered (ColC) | Days Between Orders of Same Item |
10/1/23 | A1 | 5 | n/a since it's the first item |
10/6/23 | A1 | 2 | 5 days (A3-A2) |
10/7/23 | B1 | 3 | n/a since it's a new item |
10/15/23 | A1 | 1 | 9 days (A5-A3) |
10/25/23 | A1 | 4 | 10 days (A6-A5) |
10/26/23 | C1 | 2 | n/a since it's a new item |
10/27/23 | B1 | 1 | 20 days (A8-A4) |