Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default vlookup false gives "#N/A" - can it say something else?

VLOOKUP(D3,F7:G114,2,FALSE)
The false part produces "#N/A" if there is not an exact match.
Can I substitute some other text for the "#N/A"? Like "NO MATCH"?
Thanks much! -Bob
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default vlookup false gives "#N/A" - can it say something else?

This will work in all versions of excel.
=if(iserror(vlookup(...)),"No Match",vlookup(...))

This'll work in xl2007:
=iferror(vlookup(...),"No Match")



Bob wrote:

VLOOKUP(D3,F7:G114,2,FALSE)
The false part produces "#N/A" if there is not an exact match.
Can I substitute some other text for the "#N/A"? Like "NO MATCH"?
Thanks much! -Bob


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default vlookup false gives "#N/A" - can it say something else?

Hi Bob,

Since VLOOKUP returns NA your shortest formula would be

=IF(ISNA(VLOOKUP(D3,F7:G114,2,)),"No Match",VLOOKUP(D3,F7:G114,2,))

I have also removed the FALSE argument because it is used by default if you
just add the comma.

This problem will be handled more elegently in 2007 because you won't need
to repeat the VLOOKUP function.
--
Cheers,
Shane Devenshire


"Bob" wrote:

VLOOKUP(D3,F7:G114,2,FALSE)
The false part produces "#N/A" if there is not an exact match.
Can I substitute some other text for the "#N/A"? Like "NO MATCH"?
Thanks much! -Bob

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default vlookup false gives "#N/A" - can it say something else?

Thanks, guys, for your replies. I appreciate the help. As much as a person
thinks they use Excel, there are innumerable areas one has never touched.
What forum do I go to to ask how to keep my CDROM drive from losing its
drive letter? Sometimes it's (F:) and sometimes I lose it I guess when I
plug in other devices like digital camera or flash drive or voice recorder.
My DVD drive is always present on (E:). But I lose the CDROM drive. My
flash drive sometimes becomes (F:). I have only recently learned I can scan
for hardware changes, and I can get my CDROM drive back, perhaps to (L:). I
used to think I had to re-boot in case I wanted to burn a CD. Can I
permanently assign (F:) to the CDROM drive? Thanks much, Bob

"ShaneDevenshire" wrote:

Hi Bob,

Since VLOOKUP returns NA your shortest formula would be

=IF(ISNA(VLOOKUP(D3,F7:G114,2,)),"No Match",VLOOKUP(D3,F7:G114,2,))

I have also removed the FALSE argument because it is used by default if you
just add the comma.

This problem will be handled more elegently in 2007 because you won't need
to repeat the VLOOKUP function.
--
Cheers,
Shane Devenshire


"Bob" wrote:

VLOOKUP(D3,F7:G114,2,FALSE)
The false part produces "#N/A" if there is not an exact match.
Can I substitute some other text for the "#N/A"? Like "NO MATCH"?
Thanks much! -Bob

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default vlookup false gives "#N/A" - can it say something else?

Bob

microsoft.public.windowsxp.general

is probably the best New Group for your CDROM drive problem.


Gord

On Mon, 1 Jan 2007 18:53:24 -0800, Bob wrote:

Thanks, guys, for your replies. I appreciate the help. As much as a person
thinks they use Excel, there are innumerable areas one has never touched.
What forum do I go to to ask how to keep my CDROM drive from losing its
drive letter? Sometimes it's (F:) and sometimes I lose it I guess when I
plug in other devices like digital camera or flash drive or voice recorder.
My DVD drive is always present on (E:). But I lose the CDROM drive. My
flash drive sometimes becomes (F:). I have only recently learned I can scan
for hardware changes, and I can get my CDROM drive back, perhaps to (L:). I
used to think I had to re-boot in case I wanted to burn a CD. Can I
permanently assign (F:) to the CDROM drive? Thanks much, Bob

"ShaneDevenshire" wrote:

Hi Bob,

Since VLOOKUP returns NA your shortest formula would be

=IF(ISNA(VLOOKUP(D3,F7:G114,2,)),"No Match",VLOOKUP(D3,F7:G114,2,))

I have also removed the FALSE argument because it is used by default if you
just add the comma.

This problem will be handled more elegently in 2007 because you won't need
to repeat the VLOOKUP function.
--
Cheers,
Shane Devenshire


"Bob" wrote:

VLOOKUP(D3,F7:G114,2,FALSE)
The false part produces "#N/A" if there is not an exact match.
Can I substitute some other text for the "#N/A"? Like "NO MATCH"?
Thanks much! -Bob




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default vlookup false gives "#N/A" - can it say something else?

I would try a newsgroup dedicated to the version of windows you're running.

I search in the *windowsxp* newsgroup and found a link to this:
http://www.dougknox.com/tips/xp_drive_letters.htm

Which had a link to this, too:
http://support.microsoft.com/default...;EN-US;q307844

Nope. I didn't try it.

But be careful!


Bob wrote:

Thanks, guys, for your replies. I appreciate the help. As much as a person
thinks they use Excel, there are innumerable areas one has never touched.
What forum do I go to to ask how to keep my CDROM drive from losing its
drive letter? Sometimes it's (F:) and sometimes I lose it I guess when I
plug in other devices like digital camera or flash drive or voice recorder.
My DVD drive is always present on (E:). But I lose the CDROM drive. My
flash drive sometimes becomes (F:). I have only recently learned I can scan
for hardware changes, and I can get my CDROM drive back, perhaps to (L:). I
used to think I had to re-boot in case I wanted to burn a CD. Can I
permanently assign (F:) to the CDROM drive? Thanks much, Bob

"ShaneDevenshire" wrote:

Hi Bob,

Since VLOOKUP returns NA your shortest formula would be

=IF(ISNA(VLOOKUP(D3,F7:G114,2,)),"No Match",VLOOKUP(D3,F7:G114,2,))

I have also removed the FALSE argument because it is used by default if you
just add the comma.

This problem will be handled more elegently in 2007 because you won't need
to repeat the VLOOKUP function.
--
Cheers,
Shane Devenshire


"Bob" wrote:

VLOOKUP(D3,F7:G114,2,FALSE)
The false part produces "#N/A" if there is not an exact match.
Can I substitute some other text for the "#N/A"? Like "NO MATCH"?
Thanks much! -Bob


--

Dave Peterson
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
FALSE argument in VLOOKUP Dave F Excel Worksheet Functions 2 August 30th 06 10:27 PM
VLOOKUP returning value when range_lookup false jodieg Excel Worksheet Functions 6 August 24th 06 01:53 PM
VLOOKUP - WISH TO SUBSTITUTE FALSE FOR A VALUE David Excel Discussion (Misc queries) 6 July 13th 06 01:43 AM
Lookup Data in two seperate Spreadsheets Padraig Excel Worksheet Functions 6 June 28th 06 03:05 PM
Shorten a Macro mully Excel Discussion (Misc queries) 7 December 30th 05 05:52 PM


All times are GMT +1. The time now is 10:52 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"