Microsoft Excel - Want to add 2 weeks to date in cell C19. Can't get syntax right - help!
Asked By Colette Sanders on 08-Jan-15 06:07 AM
I want to calculate a series of dates based on a date I input in cell C19. I cannot get the syntax right with the DATEADD function. Can anyone help? Excel 2013.
Harry Boughen replied to Colette Sanders on 09-Jan-15 01:20 AM
Hello Colette,
DateAdd is a VBA function. If you are just doing is by formula, the date variable is stored as days (plus a fraction if it includes time as well) so to add two weeks to a date just use =$C$19 + 14.
I f you want to use VBA then it would be handy to have the snippet of code that you are trying to work with so that we can suggest what is wrong.
Harry