#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 107
Default Returning #N/A

Hi
I m using this function =IF(VLOOKUP($B4,Inventory_List,8,0)<0,"INVALID
SALE",VLOOKUP($B4,Inventory_List,8,0)) but when B4 is blank it return #N/A. I
want this should return blank when b4 is blank.

How to change this function.=IF(VLOOKUP($B4,Inventory_List,8,0)<0,"IN VALID
SALE",VLOOKUP($B4,Inventory_List,8,0))
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Returning #N/A

=IF(OR(ISBLANK($B4),VLOOKUP($B4,Inventory_List,8,0 )<0),"INVALID
SALE",VLOOKUP($B4,Inventory_List,8,0))

"Rao Ratan Singh" wrote:

Hi
I m using this function =IF(VLOOKUP($B4,Inventory_List,8,0)<0,"INVALID
SALE",VLOOKUP($B4,Inventory_List,8,0)) but when B4 is blank it return #N/A. I
want this should return blank when b4 is blank.

How to change this function.=IF(VLOOKUP($B4,Inventory_List,8,0)<0,"IN VALID
SALE",VLOOKUP($B4,Inventory_List,8,0))

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Returning #N/A

=IF(ISBLANK($B4),"",IF(VLOOKUP($B4,Inventory_List, 8,0)<0,"INVALID
SALE",VLOOKUP($B4,Inventory_List,8,0)))

"Rao Ratan Singh" wrote:

Hi
I m using this function =IF(VLOOKUP($B4,Inventory_List,8,0)<0,"INVALID
SALE",VLOOKUP($B4,Inventory_List,8,0)) but when B4 is blank it return #N/A. I
want this should return blank when b4 is blank.

How to change this function.=IF(VLOOKUP($B4,Inventory_List,8,0)<0,"IN VALID
SALE",VLOOKUP($B4,Inventory_List,8,0))

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Returning #N/A

Change your formula to

=IF(ISNA(VLOOKUP($B4,Inventory_List,8,0)),"",IF(VL OOKUP($B4,Inventory_List,8,0)<0,"INVALID SALE",VLOOKUP($B4,Inventory_List,8,0)))


"Rao Ratan Singh" wrote:

Hi
I m using this function =IF(VLOOKUP($B4,Inventory_List,8,0)<0,"INVALID
SALE",VLOOKUP($B4,Inventory_List,8,0)) but when B4 is blank it return #N/A. I
want this should return blank when b4 is blank.

How to change this function.=IF(VLOOKUP($B4,Inventory_List,8,0)<0,"IN VALID
SALE",VLOOKUP($B4,Inventory_List,8,0))

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 107
Default Returning #N/A

Thank you sir



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 107
Default Returning #N/A

Thank you sir
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
Returning nothing if formula is false SallyGirl Excel Discussion (Misc queries) 3 December 27th 06 03:21 AM
vlookup returning a #N/A value Ian Excel Worksheet Functions 5 May 17th 06 02:58 PM
Returning a blank cell rather then #N/A (Lookup) Monk Excel Discussion (Misc queries) 2 January 24th 06 03:16 PM
Vlookup returning No data. Alex H Excel Worksheet Functions 4 July 3rd 05 09:08 PM
MY VLOOKUP IS RETURNING N/A AND THEREFORE MY TOTAL SUM AT THE BOT. Martin Excel Discussion (Misc queries) 2 December 13th 04 11:21 AM


All times are GMT +1. The time now is 02:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"