=IF(E9<>"",$D9,"") means if e9 is not(doesn't=) blank then return what's in d9 else return blank
""is a way of showing blank