ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   VLOOKUP Problem (https://www.excelbanter.com/excel-worksheet-functions/97063-vlookup-problem.html)

brown_toby

VLOOKUP Problem
 

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!!


--
brown_toby
------------------------------------------------------------------------
brown_toby's Profile: http://www.excelforum.com/member.php...o&userid=35942
View this thread: http://www.excelforum.com/showthread...hreadid=557358


CLR

VLOOKUP Problem
 
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:\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


"brown_toby" wrote:


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!!


--
brown_toby
------------------------------------------------------------------------
brown_toby's Profile: http://www.excelforum.com/member.php...o&userid=35942
View this thread: http://www.excelforum.com/showthread...hreadid=557358



brown_toby

VLOOKUP Problem
 

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?


--
brown_toby
------------------------------------------------------------------------
brown_toby's Profile: http://www.excelforum.com/member.php...o&userid=35942
View this thread: http://www.excelforum.com/showthread...hreadid=557358


brown_toby

VLOOKUP Problem
 

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?


--
brown_toby
------------------------------------------------------------------------
brown_toby's Profile: http://www.excelforum.com/member.php...o&userid=35942
View this thread: http://www.excelforum.com/showthread...hreadid=557358


brown_toby

VLOOKUP Problem
 

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?


--
brown_toby
------------------------------------------------------------------------
brown_toby's Profile: http://www.excelforum.com/member.php...o&userid=35942
View this thread: http://www.excelforum.com/showthread...hreadid=557358


brown_toby

VLOOKUP Problem
 

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?


--
brown_toby
------------------------------------------------------------------------
brown_toby's Profile: http://www.excelforum.com/member.php...o&userid=35942
View this thread: http://www.excelforum.com/showthread...hreadid=557358


CLR

VLOOKUP Problem
 
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


"brown_toby" wrote:


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?


--
brown_toby
------------------------------------------------------------------------
brown_toby's Profile: http://www.excelforum.com/member.php...o&userid=35942
View this thread: http://www.excelforum.com/showthread...hreadid=557358




All times are GMT +1. The time now is 02:40 AM.

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