I have a worksheet that tracks test results. In column E, the score of a test will be calculated and shown as a %. This is the formula in the cells in column E. The score is entered into column D. The total marks possible for each test are located in column C.
=IF(OR(D31="",C31="")=TRUE,"",IF(OR(D31=0,C31=0)=TRUE,0,D31/C31))
So if Column C = 25, Column D = 25, then the formula will automatically calculate 100% in Column E.
If there is no score in Column D, then the cell in column E is blank.
Once in a while the test isn't actually scored, we may give it out as homework and we just check for completion. So in Column D, I want to be able to type something in like "complete" or "incomplete" and have column E remain blank or show a dash "-".
Is this possible? How would I modify the formula that I am currently using? Is there another option?
Bookmarks