na entries

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » #N/A entries

#N/A entries

resolvedResolved · 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 courses

 

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
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Editing Formulas in Excel Cells

Although people like to edit a formula in the Formula bar, you can also edit a formula in the cell.

To do this select the cell and press "F2". This puts Excel into Edit mode, and you can move around in the cell and make any necessary changes.

Double-clicking the cell also puts Excel in Edit mode.

View all Excel hints and tips


Server loaded in 0.08 secs.