Sample Data
This data shows order dates and corresponding ship dates for three orders.
| Cell | Value |
|---|---|
| A1 | Order Date |
| A2 | 2024-01-01 |
| A3 | 2024-01-15 |
| A4 | 2024-02-01 |
| B1 | Ship Date |
| B2 | 2024-01-05 |
| B3 | 2024-01-20 |
| B4 | 2024-02-10 |
This data shows order dates and corresponding ship dates for three orders.
| Cell | Value |
|---|---|
| A1 | Order Date |
| A2 | 2024-01-01 |
| A3 | 2024-01-15 |
| A4 | 2024-02-01 |
| B1 | Ship Date |
| B2 | 2024-01-05 |
| B3 | 2024-01-20 |
| B4 | 2024-02-10 |
DATEDIFF('day', [Order Date], [Ship Date]) + DATEADD('day', 5, [Order Date])A B 1 Order Date Ship Date 2 2024-01-01 2024-01-05 3 2024-01-15 2024-01-20 4 2024-02-01 2024-02-10 Formula references A2 and B2 for the first row calculation.
A B C 1 Order Date Ship Date Result 2 2024-01-01 2024-01-05 Error 3 2024-01-15 2024-01-20 4 2024-02-01 2024-02-10 Column C shows the formula result for row 2, which is an error due to type mismatch.