Hi, in my country tax for gains made in stocks go like this:
https://i.postimg.cc/7h7gyXZ4/retenciones-irpf-2021.png
This means that from 0€ to 12450€ you pay 19%
from 12450€ to 20200€ you pay 24%
etc
I was wondering how I could enter a number in a cell, then have the result in another. I don’t know how to split the amounts in chunks to get each rate % so you can get the total to pay.