Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 78
Default cell w/ drop down then reference

K, I have a drop down box in "Tracking" workbook B3 with "Part Numbers".
When I choose one of the part numbers from that drop down box I want C3
("Current Balance") to update with a value from my "Inventory" workbook.
"Inventory" workbook only contains column A: "Part Number" & Column B:"Qty
in Stock"


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default cell w/ drop down then reference

Hi,

Try something like

=VLOOKUP(B3,Invertory!A1:B1000,2,False)

This example assumes we are refering to the worksheet Inventory not the
workbook, but it will work with a workbook also. In that case open both
files and with your cursor in C3 of Tracking type =VLOOKUP(B3,
and then click in the other workbook, and on the correct sheet, and then
highlight the necessary range and complete the formula as above.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Jackie" wrote:

K, I have a drop down box in "Tracking" workbook B3 with "Part Numbers".
When I choose one of the part numbers from that drop down box I want C3
("Current Balance") to update with a value from my "Inventory" workbook.
"Inventory" workbook only contains column A: "Part Number" & Column B:"Qty
in Stock"


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default cell w/ drop down then reference

In "Tracking" workbook C3 try the below formula

=index(Inventory!B:B,match(B3,Inventory!A:A,0))

If this post helps click Yes
---------------
Jacob Skaria


"Jackie" wrote:

K, I have a drop down box in "Tracking" workbook B3 with "Part Numbers".
When I choose one of the part numbers from that drop down box I want C3
("Current Balance") to update with a value from my "Inventory" workbook.
"Inventory" workbook only contains column A: "Part Number" & Column B:"Qty
in Stock"


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 78
Default cell w/ drop down then reference

k, that works but when there's nothing in B3 ("Part Number") then C3
("Current Balance") is giving me a #N/A error which I understand why but can
i make that be blank when "part number" is blank?

"Shane Devenshire" wrote:

Hi,

Try something like

=VLOOKUP(B3,Invertory!A1:B1000,2,False)

This example assumes we are refering to the worksheet Inventory not the
workbook, but it will work with a workbook also. In that case open both
files and with your cursor in C3 of Tracking type =VLOOKUP(B3,
and then click in the other workbook, and on the correct sheet, and then
highlight the necessary range and complete the formula as above.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Jackie" wrote:

K, I have a drop down box in "Tracking" workbook B3 with "Part Numbers".
When I choose one of the part numbers from that drop down box I want C3
("Current Balance") to update with a value from my "Inventory" workbook.
"Inventory" workbook only contains column A: "Part Number" & Column B:"Qty
in Stock"


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default cell w/ drop down then reference

Error handled version

=IF(ISERROR(match(B3,Inventory!A:A,0)),"",index(In ventory!B:B,match(B3,Inventory!A:A,0)))

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

In "Tracking" workbook C3 try the below formula

=index(Inventory!B:B,match(B3,Inventory!A:A,0))

If this post helps click Yes
---------------
Jacob Skaria


"Jackie" wrote:

K, I have a drop down box in "Tracking" workbook B3 with "Part Numbers".
When I choose one of the part numbers from that drop down box I want C3
("Current Balance") to update with a value from my "Inventory" workbook.
"Inventory" workbook only contains column A: "Part Number" & Column B:"Qty
in Stock"




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default cell w/ drop down then reference

Try one of these:

=IF(B3="","",VLOOKUP(B3,Invertory!A1:B1000,2,0))

Or, this more generic version:

=IF(ISNA(VLOOKUP(B3,Invertory!A1:B1000,2,0)),"",VL OOKUP(B3,Invertory!A1:B1000,2,0))

--
Biff
Microsoft Excel MVP


"Jackie" wrote in message
...
k, that works but when there's nothing in B3 ("Part Number") then C3
("Current Balance") is giving me a #N/A error which I understand why but
can
i make that be blank when "part number" is blank?

"Shane Devenshire" wrote:

Hi,

Try something like

=VLOOKUP(B3,Invertory!A1:B1000,2,False)

This example assumes we are refering to the worksheet Inventory not the
workbook, but it will work with a workbook also. In that case open both
files and with your cursor in C3 of Tracking type =VLOOKUP(B3,
and then click in the other workbook, and on the correct sheet, and then
highlight the necessary range and complete the formula as above.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Jackie" wrote:

K, I have a drop down box in "Tracking" workbook B3 with "Part
Numbers".
When I choose one of the part numbers from that drop down box I want C3
("Current Balance") to update with a value from my "Inventory"
workbook.
"Inventory" workbook only contains column A: "Part Number" & Column
B:"Qty
in Stock"




Reply
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
Return the cell reference of the drop down list selection. YY san.[_2_] Excel Worksheet Functions 1 February 21st 09 11:36 AM
When using a drop down to get it to reference another cell Josh Excel Discussion (Misc queries) 2 January 12th 09 10:10 AM
Drop down list - need to reference and populate another cell with KateW Excel Discussion (Misc queries) 7 January 8th 09 06:56 PM
How to reference a cell in a different workbook using a drop down Mr. C Excel Discussion (Misc queries) 0 January 15th 07 05:31 AM
Place a set value in a cell from a drop down list name reference Alan Lipscomb Excel Worksheet Functions 1 November 6th 04 12:07 AM


All times are GMT +1. The time now is 07:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"