LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default VLOOKUP Problem

Hi

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

Regards

Roger Govier


uplink600 wrote:
Hi

I have a small problem with a sheet I have created. I use the following
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 and
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 on
the main sheet a 0 is displayed instead of just en empty cell so I get
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 what
might be wrong. All cells are formatted as text.

Thanks

VC


 
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 question flourboy Excel Worksheet Functions 2 August 15th 05 09:10 PM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Vlookup, What is correct formula for problem below? Bill R Excel Worksheet Functions 7 August 2nd 05 04:01 AM
VLOOKUP Problem Tosca Excel Worksheet Functions 7 July 23rd 05 10:43 PM
VLOOKUP, OFFSET, MATCH PROBLEM, HELP? Steve Excel Worksheet Functions 0 January 30th 05 09:11 PM


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