Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / November 2005

Tip: Looking for answers? Try searching our database.

VLOOKUP Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
uplink600 - 24 Nov 2005 15:43 GMT
Hi

I have a small problem with a sheet I have created. I use the followin
function to display a customer name and address.

=IF($B$6<>"",(VLOOKUP($B$6,Customer_File,2,FALSE)),"") in cell B8
=IF($B$6<>"",(VLOOKUP($B$6,Customer_File,3,FALSE)),"") in cell B9
=IF($B$6<>"",(VLOOKUP($B$6,Customer_File,4,FALSE)),"") in cell B10

etc etc

When an an account number is entered in B6 the customer name an
address details from Customer_File are displayed in the relevant cells
The problem is that some of the fields in the array are empty and so o
the main sheet a 0 is displayed instead of just en empty cell so I ge
something like

Account    P007898   
       
    Dexian Engineering Ltd   
    Albion Street   
    0   
    0   
    Lincoln   
    0   
    LN16 1GG   

Where the 0 is displayed I just want an empty cell. Please advise wha
might be wrong. All cells are formatted as text.

Thanks

V
Niek Otten - 24 Nov 2005 15:51 GMT
Tools>Options>View, uncheck Zero values

Signature

Kind regards,

Niek Otten

> Hi
>
[quoted text clipped - 29 lines]
>
> VC
Roger Govier - 24 Nov 2005 15:57 GMT
Hi

You could suppress the zero's by using Tools>Options>View and untick Zero
values
or try
=IF($B$6="","",IF(VLOOKUP($B$6,Customer_File,2,FALSE))="","",VLOOKUP($B$6,Customer_File,2,FALSE)))

Regards

Roger Govier

> Hi
>
[quoted text clipped - 29 lines]
>
> VC
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.