#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default VLOOKUP 00-Jan-00

hi all,
below is my vlookup formula, but when data base doesn't have date value
00-Jan-00 is coming out, which is really effecting my other formula which is
related cell $AW9, any solution ?

=IF($AW9="","",IF(ISNA(VLOOKUP($AW9,ShipD,5,)),"", VLOOKUP($AW9,ShipD,5,)))
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default VLOOKUP 00-Jan-00

This can be easily fixed. What would you like to see if data base doesn't
have date value ??
--
Gary''s Student - gsnu200851


"tufailjpn" wrote:

hi all,
below is my vlookup formula, but when data base doesn't have date value
00-Jan-00 is coming out, which is really effecting my other formula which is
related cell $AW9, any solution ?

=IF($AW9="","",IF(ISNA(VLOOKUP($AW9,ShipD,5,)),"", VLOOKUP($AW9,ShipD,5,)))

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default VLOOKUP 00-Jan-00

i need just as a blank cell, i means no need any value.

"Gary''s Student" wrote:

This can be easily fixed. What would you like to see if data base doesn't
have date value ??
--
Gary''s Student - gsnu200851


"tufailjpn" wrote:

hi all,
below is my vlookup formula, but when data base doesn't have date value
00-Jan-00 is coming out, which is really effecting my other formula which is
related cell $AW9, any solution ?

=IF($AW9="","",IF(ISNA(VLOOKUP($AW9,ShipD,5,)),"", VLOOKUP($AW9,ShipD,5,)))

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default VLOOKUP 00-Jan-00

Add another check:

=if($aw9="","",if(isna(vlookup(...)),"",if(vlookup (...)="","",vlookup(...))))

Or since you're showing "" for all "errors"
=if($a2="","",if(iserror(1/len(vlookup(...))),"",vlookup(...)))
or
=if(iserror(1/len(vlookup(...))),"",vlookup(...))

xl2007 adds an =iferror() that may make it even simpler.



tufailjpn wrote:

hi all,
below is my vlookup formula, but when data base doesn't have date value
00-Jan-00 is coming out, which is really effecting my other formula which is
related cell $AW9, any solution ?

=IF($AW9="","",IF(ISNA(VLOOKUP($AW9,ShipD,5,)),"", VLOOKUP($AW9,ShipD,5,)))


--

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 - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


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