Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 11-06-2014, 10:21 AM
Chappster Chappster is offline calculate date if date entered in cell, do nothing if blank Windows 8 calculate date if date entered in cell, do nothing if blank Office 2010 32bit
Novice
 
Join Date: Nov 2014
Posts: 6
Chappster is on a distinguished road
Default

You can try something like =IF(C2="","",C2+28) in D2, that looks to see if there is anything in C2 and if there isn't it clears the cell. However if they put something in there that isn't a date you'll get #VALUE!. To prevent this, if the only thing you want in there is a date, you can click on C2, then click on data menu, then click Data Validation. A pop up should come up, set Allow: to "Date", Data to "greater than" and then Start Date to 1\1\2014 or what ever date you want. Now when someone puts something in there other than a date, they will get a popup that says the value they entered is not valid. they can retry, cancel or select help. If you put both of these together you should have what you're looking for.
Reply With Quote
 

Tags
date field calculation, if function



Similar Threads
Thread Thread Starter Forum Replies Last Post
Date field inserting merge date in blank field Lesley Mail Merge 5 09-30-2013 01:49 AM
Formula to calculate Date and Time funkyfido Excel 2 06-25-2013 04:25 PM
calculate date if date entered in cell, do nothing if blank how to calculate backwards from a set finish date ketanco Project 1 02-07-2013 06:50 AM
Make table cell active add date count date MelHerndon Word VBA 3 01-21-2013 04:23 PM
calculate date if date entered in cell, do nothing if blank Calculate date in word field edwedw Mail Merge 3 11-30-2011 02:10 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:19 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft