• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 611
  • Last Modified:

does IFERROR works in excel 2003?

I have a formula in excel sheet which contains IFERROR, when am opening it in Office 2003, am reciving an error.

Do we have another code that can replace iferror in case 2003 does not support it.
0
Hassanay
Asked:
Hassanay
  • 4
  • 3
1 Solution
 
barry houdiniCommented:
No, IFERROR is an Excel 2007 function. In 2003 You'll have to use ISERROR which involves repeating the formula, e.g. instead of something like this which returns a zero instead of an error
=IFERROR(formula,0)
you need
=IF(ISERROR(formula),0,formula)
although there can be shorter methods, what's the formula in question?
regards, barry
0
 
HassanayAuthor Commented:
Thanks for your help,

please find the workseet attached, the formula is on columns: S , W, AA
Copy-of-NCCI-File-1--4---Repaire.xls
0
 
barry houdiniCommented:
Why do you need IFERROR? Assuming you only have valid entries in D10 and F10 then you should only get errors when these cells are blank. In that case it's easier just to check that D10 (or F10) isn't blank, e.g. with these formulas in S10, W10 and AA10 respectively (and copied down)
=IF(F10="","",VLOOKUP($F10,$F$2:$G$6,2,FALSE)/365)
=IF(D10="","",(S10+T10*VLOOKUP($D10,$J$3:$M$4,2,FALSE)/365+U10*VLOOKUP($D10,$J$3:$M$6,3,FALSE)/365+V10*VLOOKUP($D10,$J$3:$M$6,4,FALSE)/365)*R10)
and
=IF(D10="","",(Z10*VLOOKUP($D10,$U$3:$V$32,2,FALSE)*VLOOKUP($D10,$U$3:$W$5,3,FALSE)/365)*R10)
see attached
You might also want to use a dropdown list in columns D and F to ensure that the entries can only be valid ones, e.g. "MVIP" etc.
 regards, barry

25694371.xls
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
HassanayAuthor Commented:
but as you can see, this will gice error when i make summation of column W, i think there shoud be a formula which gives 0 when the filed is empty not ""
0
 
barry houdiniCommented:
OK, I didn't notice that.....but you should always use a form of SUMPRODUCT that doesn't multiply the sum range, e.g. you can make D34 this formula
=SUMPRODUCT((MONTH($J$10:$J$32)=1)+0,$W$10:$W$32)
which won't give you an error if any values in W10:W32 are "". And other formulas should be revised in the same way, see attached
regards, barry

25694371-v2.xls
0
 
HassanayAuthor Commented:
Thanks barryhoudini ,
that was good, but honestly am very afraid when it comes to openeing the sheet in 2003 office.
0
 
barry houdiniCommented:
>but honestly am very afraid when it comes to opening the sheet in 2003 office.
Not sure why, all the formulas I proposed above will work in Excel 2003. If you do get any errors that will be as a result of other data/formula issues, nothing intrinsic to the difference between Excel 2007 and Excel 2003.
Let me know if you have any issues with it, I'm happy to help you with anything
regards, barry


0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now