Discussion Locked

Excel Formula

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need a formula that will calculate the following: Consider the date value of four independent columns + 450 days (15 months) and use the most recent date as due date.

Example:
Column 1-12/31/99+450=x
Column 2-12/31/99+450=x
Column 3-12/31/99+450=x
Column 4-12/31/00+450=x

Result: Consider x of all four columns and use column 4 because it is the most recent date.

Have tried to develop if statement and was unsuccessful.

6 replies

by jimbb

This seems to function in Excel2000:
=MAX(A2:D2)+450
It doesn't really consider the individual due dates as you asked, but looks at the most recent date and adds 450 days. Much simpler to develop. Unless you really need all of the individual due-dates of course.

Jim

by jimbb

Forgot to say that the first columns need to be in date-format, not text or so.

J.

by richtee

Answer #1 is valid and easy to use and would be a solution UNLESS your problem is with showing the values in your columns to be the date + 450. If this is what you need, then you could do the following:

Column A Column B Column C Column D

Row 1 12/31/1998 12/31/1999 12/31/2000 12/31/2001

Row 2 = A1+450 =B1+450 =C1+450 =D1+450

Format the cells in the ?Date? formatting style of your choice.

You can use the following MAX function in the cell of your choice: ?=MAX(A2:D2)? to return the ?most recent plus 450 date? date from Row 2.

Rich
(I am not sure if the columns and rows will line up in this posting)

This discussion is closed to new replies.