string today = DateTime.Now; if(B1='NO') { //Here I want that C1 = '3' //and tomorow will C1 = '4' //because the number of days between 20-05-2012 and 23-05-2012 = 3 //and tomorrow the number of days between 20-05-2012 and 24-05-2012 = 4 }
DateDiff
TODAY()-D4
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)