Here is the code you are looking for I think 
This will sum the value of each cell that the date next to it is todays date so like this if value in the cell is 3 and the date next to it is todays date then the number will be 4
If the cell is empty and the date next to it is todays date it will do nothing.
And if the cell has a value and the date is tomorrows date or yesterdays date it will do nothing.
replace your Add1 code with this one:
If you wish that if the cell has no value and the date next to it is the correct date to do a +1 then just remove the red part of the code.
Hope this helps!
Bookmarks