98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » #N/A entries
#N/A entries
Resolved · Low Priority · Version 2003
#N/A entries
Where a vlookup returns #N/A as the answer, I need to be able to display this as zero - so that I can then include this cell in a furthur calculation.
Extracting figures >0 still includes #N/A.
Any ideas how to do this ?
RE: #N/A entries
Hi Sarah
Thank you for your question; and welcome to the forum.
You could try the following:
Create another formula in a separate cell that looks at the cell with the vlookup in it, and displays 0 if there is an #N/A error or displays the vlookup result if there is one.
The formula would look like this (say the vlookup formula is in cell B6):
=if(isna(B6),0,vlookup(cell,table array,column,false)
Then you can refer to the cell with the above formula in it in other formulas.
I hope this helps.
Amanda
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Editing Formulas in Excel CellsAlthough people like to edit a formula in the Formula bar, you can also edit a formula in the cell. |