We have various localities with varying local surtax amounts collectable on the first 5,000 in sales and I am looking for a good way to have that tax automatically computed based upon both the locality name, it's corresponding tax rate up to the maximum limit if possible. I've a list of the localities, rates and maximum for this surtax to help explain it.
I have written if statements that handle the situation, say for all sales of 5,000 or less, but it is long and when I add the variable for sales in excess of 5,000 it gets unwieldly. Does anyone know how to use the XLOOKUP or other table LOOKUP function to solve this need? Thank you.
LocalSurtaxTable.JPG
Bookmarks