ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   VLOOKUP 00-Jan-00 (https://www.excelbanter.com/excel-discussion-misc-queries/229960-vlookup-00-jan-00-a.html)

tufailjpn

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,)))

Gary''s Student

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,)))


Tufail

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,)))


Dave Peterson

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


All times are GMT +1. The time now is 07:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com