na entries
Microsoft Office Training McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams add this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

#N/A entries

The UK's most regular instructor-led training courses.
Training information: excel vba courses · Excel-courses-london · Microsoft Excel Training
See also · excel-courses-london · excel courses in london · excel microsoft training

resolvedResolved · Low Priority · Version 2003

#N/A entries

by - Sarah [guest] (2008 Jun 4 Wed, 14:41) replyReply

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 ?

Excel Intermediate 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2007 2009 Jan 12 Mon Bayswater 3 book now £224 £224
2007 2009 Jan 13 Tue Bloomsbury 1 book now £224 £224
2002/XP 2009 Jan 13 Tue Tooting 0 FULL    
2003 2009 Jan 15 Thu Southwark 1 book now £215 £215
2007 2009 Jan 20 Tue Bloomsbury 3 book now £224 £224
2003 2009 Jan 20 Tue Southwark 4 book now £207 £215
Full Schedule: See all 134 Excel Intermediate course dates.
Bookings currently available until 30th March 2010.

RE: #N/A entries

by - trainer Amanda diamond contributer[1298 posts] (2008 Jun 6 Fri, 14:40) replyReply

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


Related articles

· Microsoft Excel Training: Essential for Today's Employees
· Prepare for your MOS Certification with MS Excel Courses
· A Beginners Guide To Formulas In Excel
· Microsoft Excel Training: Not Just for Newbies Anymore
· Basic Excel Training

Please browse our web site to find out more about
excel vba courses and other Microsoft training courses.

Excel tip:

Checking if a calculation adheres to Order of Precedence

When writing formulas you must make sure that results will be calculated as you intended.

Excel adheres to the standard order of precedence for calculations. It calculates percentages, exponents, multiplication, and division in this order before calculating addition and subtraction.

For example, =7+5*3 results in an answer of 22, not 36.

To force a calculation to be completed before another calculations, place the section in parentheses: =(7+5)*3 will result in 36.

To check how excel is evaluating a formula, click on the cell and select the 'Tools' menu, select 'Formula Auditing' and click 'Evaluate Formula'

In the dialog box click on 'Evaluate' to watch as each part of the formula is successively calculated.

View all Excel hints and tips

Rate this page:
3.0/5 (5 votes cast)
Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Training venues
Client list
FAQ
Pricing and availability
Course details / Syllabus

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London
Microsoft Office training

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
Microsoft access courses · Microsoft training access course
Microsoft+access+training · Access courses in london

Training Information
Training Articles

AddThis Social Bookmark Button What's this?
Add to: Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo