VLOOKUP Problem

B

brown_toby

I am trying to have one Excel file pull up a price from another Excel
file. In cell B3 I type in my part number, B4 is going to be the price.
I want B4 to look through column A in another workbook to find the part
number (from B3) and then look in column B of the same row to find the
price of the part number. To Get this to work, I used the following
function:

=VLOOKUP(B3,'O:\Eng_Sales\NQL LOG\NQL work sheet\[12-1-05 Pricing Sheet
with Multipliers and Ultraline.xls]Sheet1'!$A$1:$B$415,2,FALSE)

However, when cell B3 is empty, cell B4 shows "#N/A". If B3 is left
empty, I want B4 to read 0. I am not sure what to do to fix this
problem.

Your help is greatly appreciated!!
 
C

CLR

Wrap your formula in an IF statement, like......

=IF(isna(=VLOOKUP(B3,'O:\Eng_Sales\NQL LOG\NQL work sheet\[12-1-05 Pricing
Sheet with Multipliers and
Ultraline.xls]Sheet1'!$A$1:$B$415,2,FALSE)),"",VLOOKUP(B3,'O:\Eng_Sales\NQL
LOG\NQL work sheet\[12-1-05 Pricing Sheet
with Multipliers and Ultraline.xls]Sheet1'!$A$1:$B$415,2,FALSE)

Vaya con Dios,
Chuck, CABGx3
 
B

brown_toby

I put entered the following in the cell:

=IF(isna(=VLOOKUP(B3,'O:\Eng_Sales\NQL LOG\NQL work sheet\[12-1-05
Pricing Sheet with Multipliers and
Ultraline.xls]Sheet1'!$A$1:$B$415,2,FALSE)),"",VLOOKUP(B3,'O:\En
g_Sales\NQL LOG\NQL work sheet\[12-1-05 Pricing Sheet with Multipliers
and Ultraline.xls]Sheet1'!$A$1:$B$415,2,FALSE)


And I received an error. What could the problem be?
 
B

brown_toby

I put entered the following in the cell:

=IF(isna(=VLOOKUP(B3,'O:\Eng_Sales\NQL LOG\NQL work sheet\[12-1-05
Pricing Sheet with Multipliers and
Ultraline.xls]Sheet1'!$A$1:$B$415,2,FALSE)),"",VLOOKUP(B3,'O:\En
g_Sales\NQL LOG\NQL work sheet\[12-1-05 Pricing Sheet with Multipliers
and Ultraline.xls]Sheet1'!$A$1:$B$415,2,FALSE)


And I received an error. What could the problem be?
 
B

brown_toby

I put entered the following in the cell:

=IF(isna(=VLOOKUP(B3,'O:\Eng_Sales\NQL LOG\NQL work sheet\[12-1-05
Pricing Sheet with Multipliers and
Ultraline.xls]Sheet1'!$A$1:$B$415,2,FALSE)),"",VLOOKUP(B3,'O:\En
g_Sales\NQL LOG\NQL work sheet\[12-1-05 Pricing Sheet with Multipliers
and Ultraline.xls]Sheet1'!$A$1:$B$415,2,FALSE)


And I received an error. What could the problem be?
 
B

brown_toby

I put entered the following in the cell:

=IF(isna(=VLOOKUP(B3,'O:\Eng_Sales\NQL LOG\NQL work sheet\[12-1-05
Pricing Sheet with Multipliers and
Ultraline.xls]Sheet1'!$A$1:$B$415,2,FALSE)),"",VLOOKUP(B3,'O:\En
g_Sales\NQL LOG\NQL work sheet\[12-1-05 Pricing Sheet with Multipliers
and Ultraline.xls]Sheet1'!$A$1:$B$415,2,FALSE)


And I received an error. What could the problem be?
 
C

CLR

Sorry, my bad..........remove the = sign out of the inside of the
formula.........

=IF(isna(VLOOKUP(B3,'O:\Eng_Sales\NQL LOG\NQL work sheet\[12-1-05
Pricing Sheet with Multipliers and
Ultraline.xls]Sheet1'!$A$1:$B$415,2,FALSE)),"",VLOOKUP(B3,'O:\En
g_Sales\NQL LOG\NQL work sheet\[12-1-05 Pricing Sheet with Multipliers
and Ultraline.xls]Sheet1'!$A$1:$B$415,2,FALSE)

Vaya con Dios,
Chuck, CABGx3
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top