2012-08-23 32 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