I have a formula that works in a cell but i would like to do it using VBA. Because i need the cell to register as empty to start.
=IF(C8>0,IF(OR(C8="Work",C8="Off"),(+COUNTIF(C7:AF7,"Mo")*36+COUNTIF(C7:AF7,"Tu")*36+COUNTIF(C7:AF7,"We")*36+COUNTIF(C7:AF7,"Th")*36+COUNTIF(C7:AF7,"Fr")*36),""),"")