Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Function to deduct amount and percentage

Hey Guys,


I’m creating a payroll sheet and need some help programing a function. I need to figure out ‘Net Wages Earned’ after-tax deductions, I’ve programed functions for most of the info, but have not been able to figure out how to automatically deduct the appropriate amount based on the IRS’ complex tables. Ive attached one of the tables for an example. Any ideas?


Any help would be greatly appreciated.


User uploaded file

(The above table to the IRS, I found it on their website. No copyright infringement is intended)

iOS 7.1

Posted on Apr 8, 2014 11:12 AM

Reply
Question marked as Best reply

Posted on Apr 8, 2014 11:52 AM

Byron,


Here's a solution that expands the calculations for clarity. It could be compacted to a one column calculation if desired.


User uploaded file

The expressions in the calculations table are as follows:


Column A is the earnings input column.


Column B: =VLOOKUP(A, Lookup Tax Table::A:C, 1, 1)


Column C: =VLOOKUP(A, Lookup Tax Table::A:C, 2, 1)


Column D: =VLOOKUP(A, Lookup Tax Table::A:C, 3, 1)


Column E: =C+(A2−B2)×D


I hope this gets you on your way.


Jerry

22 replies

Apr 17, 2014 6:47 AM in response to Jerrold Green1

Jerrold Green1 wrote:


Byron,


You need to consult the other table, withholding allowances, to find what the allowance is, and multiply that by the number of allowances and subtract that from period earnings, all before you come to this table. You haven't told us anything about the previous calculations.


Jerry


Right, this is what I have.


User uploaded file


Certified Payroll:

User uploaded file

Function to deduct amount and percentage

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.