I'm having difficulty coming up with a calculation to work out income tax based on some simple tax bands. I can do it in several steps using different columns to store intermediary results but I would really like to stick the calculation in a single column. My data is in rows, one row per pay...