Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I reference VLookup returned Cells that have "#N/A

I have run a simple VLookup comparing part numbers in one sheet with part
numbers in a nother sheet to see if there are matching part#'s. In the event
there is a match, the VLookup lists the matching #'s, but when there is not a
match, it creates a #N/A in the output cell.

Here is an example of a formula I'm using:
=VLOOKUP('315'!B5,'345'!$B$5:$C$8507,1,FALSE)

When the formula returns a "#N/A", I would like to list the partnumber from
'315'!B5 on a seperate sheet.

Any ideas? I've spent almost 4 hours going through various "if"
combinations, and anytime I reference one of these "#N/A" cells, everything
comes out "#N/A" regardless of the formula.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default How do I reference VLookup returned Cells that have "#N/A

=IF(ISNA(YourFormula),OtherFormula,YourFormula)

--
Kind regards,

Niek Otten

"DA@PD" wrote in message
...
I have run a simple VLookup comparing part numbers in one sheet with part
numbers in a nother sheet to see if there are matching part#'s. In the
event
there is a match, the VLookup lists the matching #'s, but when there is
not a
match, it creates a #N/A in the output cell.

Here is an example of a formula I'm using:
=VLOOKUP('315'!B5,'345'!$B$5:$C$8507,1,FALSE)

When the formula returns a "#N/A", I would like to list the partnumber
from
'315'!B5 on a seperate sheet.

Any ideas? I've spent almost 4 hours going through various "if"
combinations, and anytime I reference one of these "#N/A" cells,
everything
comes out "#N/A" regardless of the formula.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizing cells to fit text returned by VLOOKUP Michelle Excel Discussion (Misc queries) 10 September 4th 09 02:10 AM
Resizing cells to fit text returned by VLOOKUP Michelle Excel Worksheet Functions 10 September 4th 09 02:10 AM
How do I reference a "range" for a specific table_array in VLOOKUP Sean R Excel Worksheet Functions 3 February 16th 09 12:40 AM
How do I reference a cell as PART of a vlookup "Table_Array" locat -Rocket Excel Worksheet Functions 2 January 4th 07 03:49 PM
Changing "returned" values from "0" to "blank" LATATC Excel Worksheet Functions 2 October 20th 05 04:41 PM


All times are GMT +1. The time now is 09:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"