I currently have a formula =IF(C12=""),G12, LEFT(C12,4)) I would like to add the logical test if C12=ABC

How can I accomplish this?