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,然後尋找最高價值的租金,然後尋找第二高的(或手動輸入的代碼)等....
謝謝!
是的,知道我是想過分複雜化!謝謝 – user1620192