Build Excel Formula with certain condition

Hi,

I'm new here. I need some helps with excel. Pls refer to the below image for further details:-

Thanks.

Excel
Almir's picture

Unclear request

Is this all data or just a sample?
It seems that Grade 2 quantity should be 10 % of Grade 1 quantity or less. If it is higher, the surplus should be shown as 2E. Correct?