Formula for calculating variable percentage fees
I am trying to create a formula around some new eBay fees, which changed from a fixed percentage to variable percentage depending on value. This sort of thing is completely new to me so have no idea how to tackle it.
I am using $50 as an example, Ideally, I would like to be able to
- Enter a number, and get the final amount buyer pays (since they pay the fee) eg. I enter $50 in one cell and result is $53.70 in another cell.
- Enter the number to see the inverse, eg I want buyer to pay $50, and I see what amount I need to list it at to appear as ($46.51)
The rates are
- $0.30 per item
- 8% of the item price up to AU $20, and
- 6% of any portion of the item price from $20 to $500, and
- 4% of any portion of the item price from $500 to $5,000
Any tips on how to achieve this would be greatly appreciated