Can anyone help me??

i have this formula =(D6-E6)/E6 which works out the percentage in a workbook, but if i have a zero in the cell it gives me #div/0. im not sure how to write the formula with the if function to remove the #div/0

any help would be greatly appreicated.