I am trying to create a function which returns the amount of tax based on a gross pay amount. This uses a lookup on data stored in worksheet.
When I use the code directly in my main worksheet it works fine but its a long formula which I thought could be better implemented as a function.
First...