Example: 1st cell is A1 and 2nd is A2

When A1= 98-100, A2=100%

When A1= 97-91, A2=90%

When A1= 90-86, A2=80%

When A1= 85-81, A2=70%

When A1= 80-76, A2=60%

When A1= 75-71, A2=50%

When A1= 70-66, A2=40%

When A1= 65-61, A2=30%

When A1= 60-56, A2=20%

When A1= 55-51, A2=10%

when A1= 50-0 , A2=0%

I want to use IF function on cell A2 to show the above result.

Appreciate if you can show me the logical equation on this.