【发布时间】:2014-09-14 18:17:40
【问题描述】:
我有一个很大的列,每一行都包含句子。
如果句子包含特定单词,我想一个接一个地返回句子列表。 例如,在下面的一列文本中,如果它包含 "hath" ,我想复制整个单元格。
Whan that aprill with his shoures soote
The droghte of march hath perced to the roote,
And bathed every veyne in swich licour
Of which vertu engendred is the flour;
Whan zephirus eek with his sweete breeth
Inspired hath in every holt and heeth
Tendre croppes, and the yonge sonne
Hath in the ram his halve cours yronne,
And smale foweles maken melodye,
That slepen al the nyght with open ye
(so priketh hem nature in hir corages);
Thanne longen folk to goon on pilgrimages,
And palmeres for to seken straunge strondes,
To ferne halwes, kowthe in sondry londes;
And specially from every shires ende
Of engelond to caunterbury they wende,
The hooly blisful martir for to seke,
That hem hath holpen whan that they were seeke.
非常感谢大家
【问题讨论】:
-
我想自动化它。所以我需要一个公式。例如,如果它们在 A1:A800 范围内包含“hath”,我想将所有句子连接在一起。