2012-08-23 29 views
0

我有一个数据表(在这种情况下属性租金),并希望返回一个单独的表上只有前三名租户的租金。所有属性数据保存在同一张表中,并且每个属性都有唯一的引用,可用作查找值。使用多个标准和基于订单的查找值

输入

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 

可能有人请告诉我,我应该在我的表使用一个参数)引用我的查找表仅涉及到我的specicfic财产细胞。我有mnay属性(100+),无法为每个属性定义名称。 b)如何返回前三名的租户参考。一旦我知道前三名租户,我总是可以查找其他值。

输出应该是这样的:

房产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,然后寻找最高价值的租金,然后寻找第二高的(或手动输入的代码)等....

谢谢!

回答

1
  • 您可以在第二页使用数据透视表的字段属性,属性名称,承租人代码,行级租户,并在数据区域租金的总和。
  • 当你有行级别的所有关键字段都不是聚合
  • 上的最低水平(租客)更改高级选项字段为“以租养的总和降序排序”和“十大自动显示在” /显示前3 /使用领域“总和租金的“
  • 现在你筛选所需的房客名字 VOI-LA ......这应该是它
+0

是的,知道我是想过分复杂化!谢谢 – user1620192