ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   If Formula , Adding Days to a Date (https://www.excelbanter.com/excel-discussion-misc-queries/260053-if-formula-adding-days-date.html)

Khalid A. Al-Otaibi

If Formula , Adding Days to a Date
 
A B
1 06/06/10

I want to make a formula that calculate as following;

in Cell (B1) if the date in future the result will be [Enrolled], if not it
will be Cell (A1) + 730 Days

Lars-Åke Aspelin[_4_]

If Formula , Adding Days to a Date
 
On Sat, 27 Mar 2010 02:14:01 -0700, Khalid A. Al-Otaibi
wrote:

A B
1 06/06/10

I want to make a formula that calculate as following;

in Cell (B1) if the date in future the result will be [Enrolled], if not it
will be Cell (A1) + 730 Days


Try this formula in cell B1:

=IF(A1TODAY(), "[Enrolled]", A1+730)

Format as date.

Hope this helps / Lars-Åke


All times are GMT +1. The time now is 03:04 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com