Vijaychitra
New Member
Source Data
I need to get a report table using VBA which will fetch the first 2 occurrence of email ID for each Emp # - Traverse from right to Left in above table to get the first 2 email occurrences
Desired out put
Thanks for the help...
Emp # | Employee Name | Escalation Level 4 Email | Escalation Level 3 Email | Escalation Level 2 Email | Escalation Level 1 Email |
1489 | Alex | Alexesclation4test.com | Alexesclation2test.com | ||
1655 | Joe | Joeesclation3test.com | |||
1748 | Sam | ||||
1586 | Peter | Peteresclation3@test.com | Peteresclation2@test.com | ||
1789 | Linda | Lindaesclation4@test.com | Lindaesclation3@test.com | Lindaesclation1@test.com |
I need to get a report table using VBA which will fetch the first 2 occurrence of email ID for each Emp # - Traverse from right to Left in above table to get the first 2 email occurrences
Desired out put
Emp # | Emp Name | First Mail | Second Mail |
1489 | Alex | Alexesclation2test.com | Alexesclation4test.com |
1655 | Joe | Joeesclation3test.com | |
1748 | Sam | Samesclation1@test.com | |
1586 | Peter | Peteresclation2@test.com | Peteresclation3@test.com |
1789 | Linda | Lindaesclation1@test.com | Lindaesclation3@test.com |
Thanks for the help...