Hale, Jim
Jim.Hale at FleetPride.com
Wed Apr 26 13:35:50 CDT 2006
I usually use iserror() which is more comprehensive than ISNA() ex =IF(ISERROR(VLOOKUP($A6,5,FALSE)),0,VLOOKUP($A6,5,FALSE)) Jim Hale -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Wednesday, April 26, 2006 12:52 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Excel Function - VLOOKUP Hi All, I have an Excel question. The VLOOKUP function returns "#N/A" if it cannot find a matching value. I was trying to wrap the VLOOKUP function in an IF statement to test if it returns #N/A so I could output a zero instead of #N/A. Does anyone know exactly what value to test for? I tried "#N/A", '#N/A', #N/A, and FALSE but none these worked. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email.