# Need help with Libre functions [closed]

Thanks in advance for help. Here is what I am trying to do. If cells D2 through M2 are all empty then leave designated cell empty regardless of other circumstances. If cells D2 through M2 are not empty and the SUM of cells D2 through M2 is zero, then enter “OK”. If cells D2 through M2 are not empty and the SUM of cells D2 through M2 is not zero, then enter “Error”. When I enter =IF(D2:M2="","",IF(SUM(D2:M2)=0,"OK';"error"")) I get Err:508 Help is appreciated