Please notice that we fix the column coordinate of the first reference and the row coordinate of the second refence with the $ sign so that the formula copies correctly to all other cells. Write the formula for the first cell that calculates the 1 st reminder date based on the order date in B3 and the number of days in C2: Expiration: 180 days from purchase date (E2).2 nd reminder: 120 days from purchase date (D2).1 st reminder: 90 days from purchase date (C2).You can even calculate a few intermediate dates for each subscription, all with a single formula! For this, insert a couple of new columns and indicate when each of the dates is due (please see the screenshot below): The relative reference (B2) forces the formula to change based on a relative position of each row: With the order date in B2, you enter the following formula in, say C2, and then copy the formula to the entire column by double-clicking the fill handle: Supposing you have a list of subscriptions that expire in 180 days after the purchase date. As an example, let's find 180 days from date. With this approach, you can easily calculate the expiry or dues dates for a whole column. With the target date in B3 and the number of days in B4, the formula is as simple as adding up two cells:Īs plain as it could possibly be, our formula works just perfectly in Excel: To get a more universal days from date formula, enter both values (source date and the numbers of days) in separate cells and reference those cells. I'd suggest using the default date format or convert a text-date to a serial number representing the date with DATEVALUE or explicitly specify year, month and day with the DATE function.įor example, here's how you can add days to April 1, 2018: The key point is to supply the date in the format that Excel understands. ![]()
0 Comments
Leave a Reply. |