Greetings mFaisal,
Actually, in the VBA script, the IFERROR function can't handle the runtime error like DIV/0. It will work as a normal worksheet function in the workbook, but not in the VBA script as you have shown. So that is why you are going to need the workaround. As you mentioned...