IFERROR Function
The IFERROR function is a built-in function in Microsoft Excel that helps handle errors in formulas and calculations. It allows you to specify the value or action to be taken if a formula results in an error.
VLOOKUP Function
The VLOOKUP function is a powerful lookup function in Microsoft Excel that allows you to search for a specific value in the leftmost column of a table and retrieve a corresponding value from a specified column.
Task
To determine the Bonus (G Column) for each employee, it is necessary to multiply their salary by the department’s specific factor. These factors can be found within the range I2:J5. You can use the VLOOKUP Function to perform this calculation.
In certain cells, you may come across errors such as “#N/A” and “#VALUE”. To handle these errors, you can utilize the IFERROR Function to replace them with the number 0.
Submission
Reply to this post with your formula code and solution file. Please be sure to blur or hide your formula code.
[Challenge 22.xlsx|attachment](upload://fKOQfLqCvXZxGxioA3jI2PFN4We.xlsx) (8.3 MB)
[details="Summary"]
[spoiler]This text will be hidden[/spoiler]
[/details]
Thank you for participating in the Excel Challenge related to IFERROR & VLOOKUP Functions! I hope you found this challenge to be a fun and engaging way to improve your Excel skills and learn more about how to work with IFERROR & VLOOKUP Functions in Excel.
Bonus for each employee:
=VLOOKUP(E2,$I$2:$J$6,2,FALSE)*F2
Replacing “#N/A” and “#VALUE” errors with number 0: =IFERROR(VLOOKUP(E2,$I$2:$J$6,2,FALSE)*F2, 0)
Challenge 22 with Solution.xlsx (8.3 MB)
Once again, thank you for participating in this Excel Challenge, and I look forward to seeing you in future challenges and learning opportunities!
=IFERROR(VLOOKUP(E2,$I$1:$J$6,2,FALSE)*F2,0)
[Challenge 22.xlsx|attachment](upload://qBMSjqc939P8dPdFn3RSVERppHD.xlsx) (8.3 MB)
[spoiler]
[details="Summary"]
This text will be blurred
[/details]
[/spoiler]