Excel/Using ISERROR
Expert: Aidan Heritage - 2/13/2008
QuestionOk, so I'm doing what I thought was a relatively simple formula. basically, just dividing two arrays. of course, one of the arrays only has two numbers and the rest are 0s so i got divide by zero errors. No problem, i thought, and put in my iserror statement, =IF(ISERROR(H:H/B:B),0,H:H/B:B). Now, here comes the fun part. I get all 0s (indicating error) but one. (remember, I have two cells that should be getting values!!) AND the one cell that isn't a 0 is a little "-" sign instead. This, and the one other cell, were giving me values before!! Help please...
AnswerI'm puzzled slightly in that you refer to an array, but then multiple values - which implies that the formula as given isn't quite what you are using - I would be INCLINED to try
=if(value(B)=0,0,H/B)
this assumes you are using one row per row, rather than entering an array formula. However, I may have misunderstood the function you are trying to use - my email is aidan.heritage@virgin.net if it would help to mail me a sample file to check.
About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your
Excel question answered in this area then please ask an Excel question here