D
Don Wilkins
I have an Excel sheet that I am using as a source file for a mailing
list. I enter First, Last, Street, City, State, and Zip. I would like
to have State and Zip entered automatically IF (and only IF) the City
I type is in the lookup list. The following works fine as long as the
city is in the list however if the city is not in the list V lookup
picks the nearest fit and enters it. This is not good.
The formula does enter a blank instead of #N/A if no city is entered
thus avoiding a string of #N/As in the columns.
Is there a way to modify my formula so if the city is not in the V
lookup list nothing is entered in the state and zip column?
The formula below is for the zip code entry.
=IF(B2="","",VLOOKUP(B2,Sheet2!$A$1:$C$40,3))
list. I enter First, Last, Street, City, State, and Zip. I would like
to have State and Zip entered automatically IF (and only IF) the City
I type is in the lookup list. The following works fine as long as the
city is in the list however if the city is not in the list V lookup
picks the nearest fit and enters it. This is not good.
The formula does enter a blank instead of #N/A if no city is entered
thus avoiding a string of #N/As in the columns.
Is there a way to modify my formula so if the city is not in the V
lookup list nothing is entered in the state and zip column?
The formula below is for the zip code entry.
=IF(B2="","",VLOOKUP(B2,Sheet2!$A$1:$C$40,3))