how about
=if(OR(E2="FR",E2="NR"),Sum(A2:c2)/2,sum(A2:C2))
a sample sheet loaded rather than an image would help here
A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.