I created the following formula to calculate the number of days an invoice is outstanding since the date it was submitted to Accounts Payable.
=IF(ISBLANK(N3),NETWORKDAYS(K3,TODAY(),'OfficeHolidays'!$D$2:$D$15)," ")
N3 refers to the payment date, K3 refers to the date an invoice was submitted to Accounts Payable, and 'OfficeHolidays' is a table of days that the office is closed (so it is excluded from the count).
The issue that I'm having is that when K3 is blank, it shows 30242 as the days outstanding. Is there a way to edit this formula so that it shows a blank cell when K3 is blank?
Bookmarks