HI @Musical1FLRefer the link below this will help you out.
https://support.microsoft.com/en-us/office/calculate-the-difference-between-two-dates-8235e7c9-b430-44ca-9425-46100a162f38
Excel Formula Issue - Subtracting two Dates to get a "Total number of days" to complete a process
I am subtracting two dates to create a number of days it has taken to process an application for a volunteer organization. I'm using the standard Excel formula to subtract Column A from column B ( for example... June 30 - August 30th = 60 Days) --- The problem is when the application has not been completed and the "Completed" column (B) is blank, the "Days" Column (showing the result) show's -44083 or some other number relative to the total number of days Excel allows you to track. So I need an "if - then" statement that says IF Column B is "blank" - render "0" or blank in the 'days" (Result) Column C---- the formula I'm using is =DAYS360(F4,M4) but I need an IF THEN STatement to show "0" or blank in the results column, when column B is empty (no completion date)
Microsoft 365 and Office Excel For business Windows
2 answers
Sort by: Most helpful
-
Tejas Satish Dhavale 570 Reputation points Student Ambassador
2024-08-08T13:46:44.6666667+00:00 -
Barry Schwarz 3,746 Reputation points
2024-08-08T15:20:32.55+00:00 You can test for data in the completion date cell with the ISBLANK function, by comparing the value to "" (the empty string), or by verifying the value is greater than 0. Using the example you provided, try
=IF(ISBLANK(M4),"",DAYS360(F4,M4))