View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default Formula to calculate number of days & ignore blank cells


You could try this....

=IF(A1="","",IF(B1="",TODAY(),B1)-A1+1)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=509507