【问题标题】:Get record from another sheet when value selected from dropdown从下拉列表中选择值时从另一张表中获取记录
【发布时间】:2021-11-25 11:27:05
【问题描述】:

我正在使用 Excel 2007

我有 two sheets。 1)Orders 和 2)Products

Orders :

  A             B                 C            D           E
Sr No      particulars         quantity       rate       amount
-----------------------------------------------------------------
 1         Dropdown from          
           Products B2:B50 
------------------------------------------------------------------
 2         Dropdown from
           Products B2:B50 
------------------------------------------------------------------

....... And So On.....

Products :

 A                    B                   C
---------------------------------------------
Sr No          ProductName             Rate
---------------------------------------------
1               ABC                    440
2               DEF                    210
3               XYZ                    185
   ...... And SO On...

在订单表中,在详细信息中,生成下拉框,其中包含产品表中的产品名称和数据验证。

我想自动填充率Orders 表中的下拉列表中选择的产品

我试过VLOOKUP...但没有成功

【问题讨论】:

    标签: excel excel-formula excel-2007


    【解决方案1】:

    我猜在你的“产品”表中它不会被复制一个 Vlookup 作品。 例如 ABC 保持 440 的比率?然后你可以用你的“数量”x“利率”来得到你的数量。您在 Vlookup 中尝试过什么,出现了什么错误?

    【讨论】:

    • 数量 X 比率已设置。如果特别选择了 ABC,我想在订单表中自动填写 440 的费率.....
    • 试试这个 =VLOOKUP(@$B:$B,Product!$B:$C,2,FALSE)
    【解决方案2】:

    在订单表单元格 D2 中试试这个

    =VLOOKUP($B$2,Product!$B:$C,2,FALSE)
    

    【讨论】:

      猜你喜欢
      • 2015-12-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多