#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MrSales
 
Posts: n/a
Default N/A return


If I don't have anything in the referenced cell noted in the formula
below it returns n/a. How do I get it to return something else? Example
(nothing)

(VLOOKUP(Quote!C21,'Data Base'!:A1:Z5000,6,FALSE)


--
MrSales
------------------------------------------------------------------------
MrSales's Profile: http://www.excelforum.com/member.php...o&userid=32572
View this thread: http://www.excelforum.com/showthread...hreadid=527769

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
lister_d_000169
 
Posts: n/a
Default N/A return


if you add an extra bit to your formula it will work grand......

=if(isna(VLOOKUP(Quote!C21,'Data
Base'!:A1:Z5000,6,FALSE)),"",VLOOKUP(Quote!C21,'Da ta
Base'!:A1:Z5000,6,FALSE))

Mark


--
lister_d_000169
------------------------------------------------------------------------
lister_d_000169's Profile: http://www.excelforum.com/member.php...o&userid=32950
View this thread: http://www.excelforum.com/showthread...hreadid=527769

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Aladin Akyurek
 
Posts: n/a
Default N/A return

=IF(Quote!C21="","",IF(ISNUMBER(MATCH(Quote!C21,'D ata
Base'!$A$1:$A$5000,0)),VLOOKUP(Quote!C21,'Data Base'!$A$1:$Z$5000,6,0),""))

If 'Data Base'!$A$1:$Z$5000 is sorted in ascending order on column A...

=IF(Quote!C21="","",IF(LOOKUP(Quote!C21,'Data
Base'!$A$1:$A$5000)=Quote!C21,LOOKUP(Quote!C21,'Da ta
Base'!$A$1:$F$5000),""))


MrSales wrote:
If I don't have anything in the referenced cell noted in the formula
below it returns n/a. How do I get it to return something else? Example
(nothing)

(VLOOKUP(Quote!C21,'Data Base'!:A1:Z5000,6,FALSE)


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
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM
Huge problem with "if" formula's [email protected] Excel Discussion (Misc queries) 16 July 20th 05 07:20 PM
Excel - return a picture or range rows as the result of a formula juststarting Excel Worksheet Functions 1 July 4th 05 12:59 AM
How do create a formula to evalute a # to return 1 of 4 conditions Larry Excel Worksheet Functions 4 May 29th 05 12:58 AM
if the value of a cell in a range is not blank, then return the v. kvail Excel Worksheet Functions 2 April 8th 05 10:07 PM


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