Hi,
I have some repeated data from my database. Is it possible to make it in one row using macro.
For example, for same data user, date login & remarks will loop at next column instead of next row.
Could anyone assist me.
Current data
<tbody>
</tbody>
Outcome(using macro/vba)
<tbody>
</tbody>
I have some repeated data from my database. Is it possible to make it in one row using macro.
For example, for same data user, date login & remarks will loop at next column instead of next row.
Could anyone assist me.
Current data
firstname | lastname | id | datelogin | remarks |
tom | andrew | 100010 | 14/1/2019 | enroll new account |
tom | andrew | 100010 | 15/1/2019 | update details |
vincent | lew | 100020 | 14/1/2019 | enroll new account |
felicia | tan | 100030 | 14/1/2019 | enroll new account |
felicia | tan | 100030 | 15/1/2019 | update details |
felicia | tan | 100030 | 15/1/2019 | set appointment |
<tbody>
</tbody>
Outcome(using macro/vba)
firstname | lastname | id | datelogin | remarks | datelogin | remarks | datelogin | remarks |
tom | andrew | 100010 | 14/1/2019 | enroll new account | 15/1/2019 | update details | ||
vincent | lew | 100020 | 14/1/2019 | enroll new account | ||||
felicia | tan | 100030 | 14/1/2019 | enroll new account | 15/1/2019 | update details | 15/1/2019 | set appointment |
<tbody>
</tbody>