Solved

How do I write a special date formula in Excel?

Posted on 2014-09-24
6
210 Views
Last Modified: 2014-10-03
How do I write a special date formula in Excel?  
If cell C2 = "Y" I would like today's date plus 15 days to be automatically entered into cell C10.

I am guessing that it would be something like: =If (C2 = 'Y') then C10=TODAY()+15

Also, where do I put the formula?  I looked at the Conditional Formatting area but it seems to be available for changing the color of the cell.

Let's say that today is: March 5, 2014.  A project listed on C1 was completed today and a completion notice has been placed into cell C2: "Yes".  The user should send an email notice to John immediately letting him know that step 2 should be sent out 15 days after the project is finished.  Therefore, I want the system to automatically enter "3/20/2014" into cell C10.

Any assistance that you can give will be appreciated.  

Thank you.
0
Comment
Question by:sherman6789
6 Comments
 
LVL 18

Accepted Solution

by:
Jerry Miller earned 300 total points
ID: 40342839
You don't want to do the TODAY or NOW function here because it will always be updating to the current date + 15 days. You want to use the original cell value + 15.

Put this formula in C10.

=If (C2 = 'Y', C10=C1+15)

Here is a reference:
http://www.techonthenet.com/excel/formulas/if.php
0
 
LVL 18

Assisted Solution

by:Jerry Miller
Jerry Miller earned 300 total points
ID: 40342842
0
 
LVL 40

Assisted Solution

by:Kyle Abrahams
Kyle Abrahams earned 100 total points
ID: 40342850
This would go in C10
=IF(C2="Y", Today()+15, Today())

Be sure to format the cell (c10) as a date.
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 1

Assisted Solution

by:Joe Mika
Joe Mika earned 100 total points
ID: 40342868
Jerry is right, if you use today each time the spreadsheet is opened it will update.

You may want to put completion date in C3 or somewhere, and mark that and C10 as date cells, then you could do
=IF(C2="y",C3+15,"N/A")
0
 

Author Comment

by:sherman6789
ID: 40353468
Thanks everyone for your suggestions and comments.  I had to go out of town for the job.  Since I am back I will work on updating and testing the project.  I will end the thread soon.

This is great.

Thanks again.

-sherman6789
0
 

Author Closing Comment

by:sherman6789
ID: 40360207
Thanks for your answers.  They are all helping us on our projects.

-sherman6789
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question