In my opinion, you will need 2 variables :
- currentExp
- maxExp
The percentage will be displayed as =floor(currentExp/maxExp*100)
In case you want to upgrade, you only need to increase the maxExp.
When the currentExp = maxExp, you can reset the currentExp to 0.