2

I have a list of fundamental frequency data taken from full sentences, such that I have values for different times (50 time points per word) for all words in the sentence. The data looks like this (but 50 points for each word, 5-8 words per phrase, 20 phrases per set, 3 sets... the data adds up quickly!):

    Speaker Accent   rowLabel ActualTime    F0
1     102-1      N     {SL} 0.00000000 105.954
2     102-1      N     {SL} 0.03757985 105.954
3     102-1      N     {SL} 0.07515970 105.954
4     102-1      N     {SL} 0.11273954 105.954
...
130   102-1      N    NOVEL   2.201260 115.82318
131   102-1      N    NOVEL   2.208244 112.42151
132   102-1      N    NOVEL   2.215228 108.82458
133   102-1      N    NOVEL   2.222212 105.19330
...
1328   102-1      N    NYLON   23.90094 113.44101
1329   102-1      N    NYLON   23.90693 113.01347
1330   102-1      N    NYLON   23.91292 112.44099
1331   102-1      N    NYLON   23.91890 111.77279

What I am trying to do is take a subset of this huge dataset based on a list of target words I have (which would fall under the 'rowLabel' category). I want to find those target words within the Excel file and copy the data for the entire row that has one of those target words in the rowLabel column (so in the example above, the words labeled NOVEL or NYLON are both on my list, so I would be looking for those as well as 38 other target words).

How would I get all of those rows (in this example, 130-133, and 1328-1331) based on searching for the rowLabel words from a list of 40 target words)?

And is it possible to get this to copy to another spreadsheet, rather than replacing the current one?

4

1 回答 1

1

如果我理解正确,数据透视表应该适合:

将标签添加到 A 和 C 列。
选择 A1:F1331,插入 > 表格 - 数据透视表,数据透视表,然后选择是在新工作表中还是在现有工作表中。
拖动到选择要添加到报告的字段中指示的区域:

SO19107065 示例

rowLabel使用选择多个项目和选择的单词进行过滤。确保您的 PT 对行和列进行总计。
双击 PT 的底部 RH 角单元。

于 2013-10-01T13:10:07.313 回答