Solved

How do I write a special date formula in Excel?

Posted on 2014-09-24
6
211 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

733 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