【发布时间】:2012-08-24 00:57:21
【问题描述】:
我有一个数据表(在本例中为物业租金),并且想在单独的表格中仅返回基于租金的前三个租户。所有属性数据都保存在同一张表中,每个属性都有一个唯一的引用,可以用作查找值。
输入
Property Property name Tenant code Tenant Rent
bb107 Property 1 t0000610 Tenant 1 115,000.00
bb107 Property 1 t0000515 Tenant 2 120,000.00
bb107 Property 1 t0000630 Tenant 3 125,000.00
bb107 Property 1 t0000565 Tenant 4 130,000.00
bb107 Property 1 t0000579 Tenant 5 145,000.00
bb110 Property 2 t0000520 Tenant 6 220,000.00
bb110 Property 2 t0000604 Tenant 7 215,000.00
bb110 Property 2 t0000588 Tenant 8 230,000.00
bb110 Property 2 t0000586 Tenant 9 185,000.00
bb110 Property 2 t0000611 Tenant 10 250,000.00
bb110 Property 2 t0000568 Tenant 11 235,000.00
bb115 Property 3 t0000562 Tenant 12 85,000.00
bb115 Property 3 t0000631 Tenant 13 65,000.00
bb115 Property 3 t0000532 Tenant 14 70,000.00
bb115 Property 3 t0000589 Tenant 15 72,500.00
bb115 Property 3 t0000556 Tenant 16 78,750.00
bb115 Property 3 t0000613 Tenant 17 55,000.00
bb115 Property 3 t0000524 Tenant 18 67,500.00
有人可以告诉我我应该在工作表上使用的论点来 a) 引用查找表中仅与我的特定属性相关的单元格。我有 mnay 属性(100+)并且不能为每个属性定义一个名称。 b) 如何返回前 3 个条目的租户引用。知道前 3 名租户后,我总是可以查找其他值。
输出应该是这样的:
属性 1
bb107 Property 1 t0000579 Tenant 5 145,000.00
bb107 Property 1 t0000565 Tenant 4 130,000.00
bb107 Property 1 t0000630 Tenant 3 125,000.00
属性 2
bb110 Property 2 t0000611 Tenant 10 250,000.00
bb110 Property 2 t0000568 Tenant 11 235,000.00
bb110 Property 2 t0000588 Tenant 8 230,000.00
属性 3
bb115 Property 3 t0000562 Tenant 12 85,000.00
bb115 Property 3 t0000556 Tenant 16 78,750.00
bb115 Property 3 t0000589 Tenant 15 72,500.00
另一个问题是,如果我给一些条目一个特定的参考,我怎么能只把这些条目拉到我的输出页面上。我正在努力为 excel 提供多个用于输出的标准(即查找属性 1,然后查找最高值租金,然后查找第二高(或手动输入的代码)等....
谢谢!
【问题讨论】: