M$ killed the use of VBA and Visual Basic some time back for older versions of Excel.
I normally handle this by creating a VB program and then doing everything in Excel from VB,
I have a situation with multiple interrelated worksheets that I don't want to recreate in VB.
OF INTEREST is a tax table I need to reference, which calculates the amount of tax based on the final value in one cell.
Currently, I'm using the formula which just address the first two tax levels which reside in rows.
I need to expand this for other tax levels (rows), which would require a loop.
Any workaround or solution appreciated.
I normally handle this by creating a VB program and then doing everything in Excel from VB,
I have a situation with multiple interrelated worksheets that I don't want to recreate in VB.
OF INTEREST is a tax table I need to reference, which calculates the amount of tax based on the final value in one cell.
Currently, I'm using the formula which just address the first two tax levels which reside in rows.
Excel Formula:
=IF(C37 <= 0, 0, IF(AND(C37>$D$54, C37 < $D$55),((C37-$D$54)*$C$54)+$B$54,((C37-$D$55)*$C$55)+$B$55))
I need to expand this for other tax levels (rows), which would require a loop.
Any workaround or solution appreciated.