Hi everyone,
Im working on a spreadsheet in Google Sheets to calculate the correct IRPF (Spanish Income Tax) percentage for my freelance income, but Im encountering some issues with the formula. Heres what I need help with:
I enter my monthly gross income in Column A (e.g., 1000 EUR for each month).
Column B is a running total (accumulated income) that adds up the values in Column A.
I want Column C to automatically calculate the corresponding IRPF for that accumulated income, taking into account the following tax brackets:
Income up to 7,550 EUR: Exempt from tax.
Income between 7,551 EUR and 12,450 EUR: 19% tax rate.
Income between 12,451 EUR and 20,200 EUR: 24% tax rate.
Income above 20,200 EUR: 30% tax rate.
For example, if my total income (B1) is 13,000 EUR, the formula should apply:
19% on the first 4,900 EUR (12,450 - 7,550)
24% on the remaining 550 EUR (13,000 - 12,450)
I've been ChatGTPing the heck out of it with no success
Can anyone guide me on how to fix this formula so that it works consistently, or suggest an alternative approach?
Thank you!
Bookmarks