Percentage of D1 out of total units is D1/SUM(D1:E1). Replace with E1 for night units.
D1/SUM(D1:E1)