![](/img/trans.png)
[英]Copy data from one cell to a cell in another sheet based on the value of a second cell in the first sheet?
[英]Copy Data from once cell to another cell based on conditions
我在驅動公式時遇到了 excel 問題。 我在一張紙上有數據(年、薪水、姓名)。 它是垂直更新的。 在另一張表中,我想獲得特定年份的薪水清單。 2019 年的薪水可能有 4 行,所以我要一一列出。 下面是數據:
Salary EMP Year
10000 a 2017
11500 b 2018
13000 c 2019
14500 d 2017
16000 f 2018
17500 s 2019
19000 g 2017
20500 h 2018
22000 h 2019
我需要的輸出:
Year 2017 2018 2019
10000 11500 13000
14500 16000 17500
19000 20500 22000
因此,當我輸入 2019 年(所有行)時,輸出應包含 2019 年的數據列表。 實際可能有 50 行,因為我只給出了 8 行的簡單示例。
請幫我解決這個問題。 謝謝,沙米爾
我嘗試使用樞軸,但它給出的是總價值而不是單個價值。 我也嘗試過使用偏移、索引 + 匹配功能,但它沒有為我提供正確的輸出。 OFFSET、Index + Match 的組合給出所有單年的所有行。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.