Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default vlookup result

In a VLOOKUP function when the range lookup is set to false, is it possible
to have excel return a "0" versus a N/A Value?

Thanks in advance for your assistance!
--
icebreaker914
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default vlookup result

One way:

=if(iserror(yourvlookupformula),0,yourvlookupformu la)



icebreaker914 wrote:

In a VLOOKUP function when the range lookup is set to false, is it possible
to have excel return a "0" versus a N/A Value?

Thanks in advance for your assistance!
--
icebreaker914


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default vlookup result

One way:

=IF(ISNA(MATCH(A1,J:J,FALSE)),0,VLOOKUP(A1,J:K,2,F ALSE))

In article ,
"icebreaker914" wrote:

In a VLOOKUP function when the range lookup is set to false, is it possible
to have excel return a "0" versus a N/A Value?

Thanks in advance for your assistance!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default vlookup result

Thanks Dave, it works great!
--
icebreaker914


"Dave Peterson" wrote:

One way:

=if(iserror(yourvlookupformula),0,yourvlookupformu la)



icebreaker914 wrote:

In a VLOOKUP function when the range lookup is set to false, is it possible
to have excel return a "0" versus a N/A Value?

Thanks in advance for your assistance!
--
icebreaker914


--

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
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
vlookup shows result one cell above the expected result Marie Excel Worksheet Functions 7 November 14th 06 02:52 AM
VLOOKUP - Can't see result plunk25 Excel Worksheet Functions 1 June 29th 06 04:58 PM
vlookup based on random result returns incorrect result rickat Excel Worksheet Functions 1 December 6th 05 01:16 PM
vlookup, with more than 1 result glen Excel Programming 2 April 24th 04 01:58 PM


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