This article on payroll fundamentals focusing on how to compute PAYE in Microsoft excel is based on the provisions of the recently enacted Finance Act 2020.
If you are an HR personnel working in a small company in Nigeria where you still use excel to prepare payroll, then count yourself lucky as this article on how to compute PAYE in Microsoft excel is specifically written for you. Also, if you are new to the world of accounting, please try to pick up as much excel skills as you can as that is one easiest way to grow your accounting soft skills. This is a typical example of how accountants use technology.
Please kindly download the attached excel in this article and follow along. I will be using two (2) formula methods to calculate PAYE of staff in Nigeria (Using the Vlookup function and IF Function). You don’t need a tax table if you are using the IF function method, just that the formula is ridiculously long. Vlookup makes use of a tax table but the formula is shorter and easy to maintain.
Overview of PAYE in Nigeria
PAYE stands for Pay-As-You-Earn. It is a progressive system of tax where the tax burden suffered by a tax payer increases as income increases. The Nigeria’s PAYE is capped at 24%.
The first N300,000 (Three Hundred Thousand Naira) is taxed at 7%, the next N300,000 (Three Hundred Thousand Naira) is taxed at 11%, the next N500,000 (Five Hundred Thousand Naira) is taxed at 15%, the next N500,000 (Five Hundred Thousand Naira) is taxed at 19%, the next N1,600,000 (One Million Six Hundred Thousand Naira) is taxed at 21%, while anything above N3,200,000 (Three Million Two Hundred Thousand Naira) is taxed at 24%.
The above rates are applied on taxable income progressively as described above. See below for how to calculate it.
How to compute PAYE in Microsoft excel in Nigeria.
Step 1. Establish total income of an employee
The first thing to do when computing the PAYE of an employee in Nigeria is to calculate the (total remuneration) total annual package due to the person. This typically includes gross annual salary and leave allowance. Depending on the company in question, annual leave is usually the monthly Basic salary of an individual.
Step 2. Calculate the TCRA (Total Consolidated Relief Allowance) under the 2020 Finance Act
The next thing to do after establishing the total income is to calculate the TCRA. This is calculated thus; N200,000 (Two Hundred Thousand Naira) + 20% of total annual income less employee pension. Pension was not deducted from total income when calculating the TCRA, but the 2020 Finance Act now requires this. This amendment eliminates the ‘double benefits’ that people have been hitherto enjoying.
Step 3. Determine the Taxable income of an individual under the 2020 Finance Act
The taxable income is arrived at by deducting the TCRA, Pension, and NHF (Total Income – TCRA- Pension-NHF) from the total income established in step 1.
Step 4. Build a Tax Table.
The reason for building this tax table is for you to be able to apply Vlookup function to it. See the tax table below: (I have also attached this excel sheet titled ‘AccountantNextDoorPayrollTemplateBlog‘ just for you to tweak to your organization’s need – note that I simplified the contents so feel free to add as many content as possible).
Vlookup Value | Over…. | But not over…. | Rate | Tax from Previous |
₦0.00 | ₦0.00 | ₦300,000.00 | 7% | ₦0.00 |
₦300,000.01 | ₦300,000.00 | ₦600,000.00 | 11% | ₦21,000.00 |
₦600,000.01 | ₦600,000.00 | ₦1,100,000.00 | 15% | ₦54,000.00 |
₦1,100,000.01 | ₦1,100,000.00 | ₦1,600,000.00 | 19% | ₦129,000.00 |
₦1,600,000.01 | ₦1,600,000.00 | ₦3,200,000.00 | 21% | ₦224,000.00 |
₦3,200,000.01 | ₦3,200,000.00 | 24% | ₦560,000.00 |
You are now set for the fun part of calculating progressive tax in Nigeria using excel formula.
Step 5. Apply the Microsoft excel formula
Calculating PAYE in Nigeria using Vlookup
- Type equal to sign (=) to activate the excel cell where you want to calculate the PAYE
- Type vlookup and hit the “Tab” button on tour keyboard.
- Click on the Cell where the Taxable Income (TI) is
- Highlight the tax table from the top left to the bottom right (see screen shot below on Table 2)
- Hit (F4) on your keyboard to absolutely lock the cells. You will know that this has happened when you see $signs added to the text.
- Put comma sign (,)
- Close the bracket using ‘)’
- Type plus sign (+)
- Open a new bracket ‘(‘
- Click on the Cell where the Taxable Income (TI) is
- Type minus sign (-)
- Type vlookup
- Hit the ‘Tab’
- Click on the Cell where the Taxable Income (TI) is
- Put comma sign (,)
- Repeat step 4 above
- Put comma sign (,)
- Type 2
- Close the bracket using ‘)’
- Repeat step 19
- Type multiplication sign (*)
- Type vlookup
- Hit ‘Tab’
- Click on the Cell where the Taxable Income (TI) is
- Type comma sign (‘)
- Type 4
- Close the bracket using ‘)’
- Drag down to cover range (note that the figure you get is the annual tax, divide by 12 to get the monthly PAYE)
Vlookup formula to calculate progressive tax like Nigeria’s PAYE
=VLOOKUP(AS6,$AP$253:$AT$258,5)+(AS6-VLOOKUP(AS6,$AP$253:$AT$258,2))*VLOOKUP(AS6,$AP$253:$AT$258,4)
Voala!! Your PAYE is done using Vlookup function. I know what you are thinking, but trust me you will get used to it. I do all of this in less than 2 minutes when pre auditing payroll with staff strength of over 2000 staff members. Make sure you download the attached excel sheet and have a look at the formula.
Calculating PAYE in Nigeria using IF function
- Type equals to sign (=)
- Enter the following formula
IF function formula to calculate progressive tax like Nigeria’s PAYE
=IF(Taxable Income<=300000,7%* Taxable Income,IF(AND(Taxable Income >300000, Taxable Income <=600000),21000+( Taxable Income -300000)*11%,IF(AND(Taxable Income >600000, Taxable Income <=1100000),54000+( Taxable Income -600000)*15%,IF(AND(Taxable Income >1100000, Taxable Income <=1600000),129000+( Taxable Income -1100000)*19%,IF(AND(Taxable Income >1600000, Taxable Income <=3200000),224000+( Taxable Income -1600000)*21%,560000+( Taxable Income -3200000)*24%)))))
PLEASE substitute the ‘words’ Taxable Income with the Cell where the Taxable Income is in your worksheet as highlighted in red colors below – I used BF6 as a place holder.
=IF(BF6<=300000,7%*BF6,IF(AND(BF6>300000,BF6<=600000),21000+(BF6-300000)*11%,IF(AND(BF6>600000,BF6<=1100000),54000+(BF6-600000)*15%,IF(AND(BF6>1100000,BF6<=1600000),129000+(BF6-1100000)*19%,IF(AND(BF6>1600000,BF6<=3200000),224000+(BF6-1600000)*21%,560000+(BF6-3200000)*24%)))))
Edit (12th August 2024): HR Cottage, an HRTech startup that we partner with has magnanimously released a component of its coveted Payroll Package that helps you calculate Nigerian paye for free. Head over to
Free PAYE Calculator built by Nigerians for Nigerians to try it out. No download is required, all browser based and nothing is saved. Reach out to them if you would like to have access to the entire package, otherwise, you will be fine just using the free web version.
Conclusion
I hope you enjoyed this article on how to calculate PAYE in Nigeria using both Vlookup and IF function? Please kindly share with anyone you know who may benefit from this. Please download the attached PAYE tax template if you haven’t done so already. Note that I deliberately kept the template simple and the formulas are not hidden.
This is to encourage learning and transfer of knowledge. Do not forget to leave your questions in the comment section or use the contact form if you need further guidance. Thank you
Precious Modupe says
Wow! I have been looking for a PAYE tax template like this for some time now without luck. You nailed it!! I don’t have to manually compute the damn PAYE tax anymore.
Thank you so much. How can I contact you sir? Do you live in Lagos?
chinweike says
Thanks precious for your kind words. Am glad you found it helpful. Yes I live in Lagos.
MALIK Kehinde says
I would like to say a very big THANK YOU SIR for this. I have been looking for the template for a very long time and now you give it out well simplified. Kudos to you Sir and God bless and enrich you, Allahuma A’ameen.
chinweike says
Hello Malik Kehinde,
Thanks for your superb comment. Am glad you found the post helpful. Please do feel free reach out to me if you need any further with anything relating to Payroll administration in Nigeria. Thank you
Chinweike
Taiwo Emmanuel says
Wow! You have lifted some of our burdens with this Template. I pray for you that the Almighty God takes away whatever that has been your burden and also puts smiles and laughter. Amen
Please, I will like to know what the data on column C on the Excel Sheet 2 template represents.
Thank you and remain blessed.
chinweike says
Hello Taiwo Emmanuel,
Amen to the prayers and thanks.
The data on column C represent the unique employee ID, in the case Accountant Next Door (AND) followed by some numbers. I have updated the column header with an appropriate title.
Please kindly share this for wider reach to assist even more people.
Thank you
Chinweike Okwuduche
Omolola says
Thank you very much sir. May God continue to bless you more.
I have been looking for a Paye Tax template like this for a very long time, and now you blessed me with it.
I don’t have to manually compute it again. More divine wisdom sir.
Kindly share your contact number.