Hi,
I have the following table and my goal is to have to restrict the number of keywords per key to 3. For every key containing more than 3 keywords, I want to delete every keyword after the third one.
I am preferably looking for a solution in power query as this table will be the output of a query. But a solution through an excel formula will work just fine.
Best regards and thank you,
Dag2
I have the following table and my goal is to have to restrict the number of keywords per key to 3. For every key containing more than 3 keywords, I want to delete every keyword after the third one.
Keywords_Search_Klemens.xlsm | ||||
---|---|---|---|---|
P | Q | |||
1 | Key | ActualCategories | ||
2 | 1 | IT-Strategie | ||
3 | 2 | IT-Strategie | ||
4 | 3 | IT-Strategie | ||
5 | 4 | Vorgaben&Maßnahmen | ||
6 | 5 | IT-Strategie | ||
7 | 5 | IDV-Anwendung | ||
8 | 5 | Informationssicherheit | ||
9 | 5 | Notfallmanagement | ||
10 | 6 | IT-Strategie | ||
11 | 6 | Informationssicherheit | ||
12 | 6 | Vorgaben&Maßnahmen | ||
13 | 6 | RandomKeyword1 | ||
14 | 6 | RandomKeyword2 | ||
MappedSource2 |
I am preferably looking for a solution in power query as this table will be the output of a query. But a solution through an excel formula will work just fine.
Best regards and thank you,
Dag2