Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 385
Default Vertical Lookup Question

Good day, I have a quick question. When using a vertical lookup that looks
at a named table for the returned values, if the item is not present in the
table it returns an N/A. Is there any way to have it return a zero (0) if it
is not present in the table?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Vertical Lookup Question

You might try:-

=IF(ISNA(VLOOKUP(368.59,myrange,2,FALSE)),"0",VLOO KUP(368.59,myrange,2,FALSE))

Mike

"Jennifer" wrote:

Good day, I have a quick question. When using a vertical lookup that looks
at a named table for the returned values, if the item is not present in the
table it returns an N/A. Is there any way to have it return a zero (0) if it
is not present in the table?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 385
Default Vertical Lookup Question

Thank you for the quick reponse... can you tell me what the 368.59 is?

"Mike H" wrote:

You might try:-

=IF(ISNA(VLOOKUP(368.59,myrange,2,FALSE)),"0",VLOO KUP(368.59,myrange,2,FALSE))

Mike

"Jennifer" wrote:

Good day, I have a quick question. When using a vertical lookup that looks
at a named table for the returned values, if the item is not present in the
table it returns an N/A. Is there any way to have it return a zero (0) if it
is not present in the table?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Vertical Lookup Question

Jennifer,

It's just happened to be a value I had in a named range to test the formula.
It's the lookup value.

Mike

"Jennifer" wrote:

Thank you for the quick reponse... can you tell me what the 368.59 is?

"Mike H" wrote:

You might try:-

=IF(ISNA(VLOOKUP(368.59,myrange,2,FALSE)),"0",VLOO KUP(368.59,myrange,2,FALSE))

Mike

"Jennifer" wrote:

Good day, I have a quick question. When using a vertical lookup that looks
at a named table for the returned values, if the item is not present in the
table it returns an N/A. Is there any way to have it return a zero (0) if it
is not present in the table?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Vertical Lookup Question

try
IF(ISNA(yourformula)),0,yourformula)
or
IF(ISNA(yourformula)),"",yourformula)

--
Don Guillett
SalesAid Software

"Jennifer" wrote in message
...
Good day, I have a quick question. When using a vertical lookup that
looks
at a named table for the returned values, if the item is not present in
the
table it returns an N/A. Is there any way to have it return a zero (0) if
it
is not present in the table?




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 385
Default Vertical Lookup Question

Thanks Don, that worked great! Strongly appreciate your help!

"Don Guillett" wrote:

try
IF(ISNA(yourformula)),0,yourformula)
or
IF(ISNA(yourformula)),"",yourformula)

--
Don Guillett
SalesAid Software

"Jennifer" wrote in message
...
Good day, I have a quick question. When using a vertical lookup that
looks
at a named table for the returned values, if the item is not present in
the
table it returns an N/A. Is there any way to have it return a zero (0) if
it
is not present in the table?



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default Vertical Lookup Question

u can use IF()&ISERROR()orISNA() to reture to zero when lookup() function
returns an N/A
i.e =IF(iserror(lookup()),0,lookup())

"Jennifer" ...
Good day, I have a quick question. When using a vertical lookup that
looks
at a named table for the returned values, if the item is not present in
the
table it returns an N/A. Is there any way to have it return a zero (0) if
it
is not present in the table?



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
Vertical Lookup from a List B Golden Excel Worksheet Functions 5 July 20th 06 02:45 PM
Relative Value to a Vertical Lookup Result? jillteresa Excel Worksheet Functions 3 May 19th 06 03:38 PM
Vertical Lookup problem William Excel Worksheet Functions 3 November 22nd 05 11:48 AM
Is it possible to do a vertical lookup that matches on 2 criteria lshaw Excel Worksheet Functions 4 May 16th 05 07:00 PM
Vertical lookup help needed Have three columns R,S,T Excel Worksheet Functions 1 December 11th 04 11:11 AM


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