Perhaps you want something along the lines of:

G2:
=IF(SUM($H2),NETWORKDAYS($H2,IF(SUM($L2),$L2,TODAY()),"")
(add holiday range as necessary)