Your formula =IF(ISBLANK(E6);TODAY()-B6;(E6-B6)) becomes
Code:
=IF(ISBLANK(E6);NETWORKDAYS(B6,TODAY()),NETWORKDAYS(B6,E6))
You have the option to add a range to the function, range containing the holidays.
Check the function's syntax to see how it works