Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default VLookup returns #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 VLookup returns #N/A

Please don't post in more than one group. You have an answer to your first
post already

--
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.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default VLookup returns #N/A

=IF(ISNA(VLOOKUP('315'!B5,'345'!$B$5:$C$8507,1,FAL SE)),'315'!B5
,VLOOKUP('315'!B5,'345'!$B$5:$C$8507,1,FALSE))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"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
VLOOKUP Returns a zero value Nate Excel Discussion (Misc queries) 2 April 15th 08 08:45 PM
VLOOKUP returns #N/A fbagirov Excel Worksheet Functions 1 April 4th 08 04:11 AM
VLOOKUP Returns #REF Michael Excel Worksheet Functions 3 September 19th 05 01:54 PM
VLookup returns #VALUE! BEEJAY Excel Worksheet Functions 2 September 8th 05 02:25 PM
vlookup returns n/a Todd L. Excel Worksheet Functions 1 November 5th 04 09:05 PM


All times are GMT +1. The time now is 07:39 PM.

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"