Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have two excel files which are attendee lists - company name, first name, last name, email. What i want to do is create a table that shows the attendees that are on BOTH lists. So if attendee John smith is on list A and B, he should show up in the table. If he is only on list A i do not want him to show up. It's pretty simple but i don't know what to do. Is it an expression? Would appreciate the help asap if possible!
Use inner join while loading the tables, it will show u common values.
Hope it helps!!!
Hi,
The script could be something like this:
NamesInFirstTable:
LOAD [First Name] & '/' & [Last Name] & '/' & Company AS Key
FROM
[svp master list.xls]
(biff, embedded labels, table is Sheet1$);
Directory;
LOAD Company,
[First Name],
[Last Name],
[Contact Title],
FROM
[svp master list.xls]
(biff, embedded labels, table is Sheet1$);
Directory;
LOAD Company,
[First Name],
[Last Name],
[Contact Title],
FROM
[svp master list2.xlsx]
(ooxml, embedded labels, table is Sheet1)
WHERE EXISTS(Key, [First Name] & '/' & [Last Name] & '/' & Company);
// The EXISTS() will load only those that are present in Table1
DROP TABLE NamesInFirstTable;
Hope that helps.
Miguel