MrPowerQuery
New Member
- Joined
- Aug 7, 2018
- Messages
- 11
Hello there everyone,
i have a table that looks like this:
<tbody>
</tbody>
The task is to write a formula or vba makro that does the following trick:
If the value in column "Art.No" changes put the value of the column "PAGE" into a other cell seperated by a comma.
Like in this case "3, 9, 12".
I tried this with the formula =IF(C2=C3;"";D2) but i dont know how to put these results in one cell seperated by commas....
Iam very sure some of u guys know how to solve my problem.
Thanks in Advance for helping me out here.
Ben
i have a table that looks like this:
CUSTOMER | CUSTOMSUP | Art.No. | PAGE |
Kunde A | Ansprechpartner A | 1000001 | 1 |
Kunde A | Ansprechpartner A | 1000001 | 2 |
Kunde A | Ansprechpartner A | 1000001 | 3 |
Kunde B | Ansprechpartner B | 1000002 | 4 |
Kunde B | Ansprechpartner B | 1000002 | 5 |
Kunde B | Ansprechpartner B | 1000002 | 6 |
Kunde B | Ansprechpartner B | 1000002 | 7 |
Kunde B | Ansprechpartner B | 1000002 | 8 |
Kunde B | Ansprechpartner B | 1000002 | 9 |
Kunde c | Ansprechpartner c | 1000003 | 10 |
Kunde c | Ansprechpartner c | 1000003 | 11 |
Kunde c | Ansprechpartner c | 1000003 | 12 |
Kunde D | Ansprechpartner D | 1000004 | 13 |
Kunde D | Ansprechpartner D | 1000004 | 14 |
Kunde D | Ansprechpartner D | 1000004 | 15 |
Kunde D | Ansprechpartner D | 1000004 | 16 |
<tbody>
</tbody>
The task is to write a formula or vba makro that does the following trick:
If the value in column "Art.No" changes put the value of the column "PAGE" into a other cell seperated by a comma.
Like in this case "3, 9, 12".
I tried this with the formula =IF(C2=C3;"";D2) but i dont know how to put these results in one cell seperated by commas....
Iam very sure some of u guys know how to solve my problem.
Thanks in Advance for helping me out here.
Ben