Lookup with multiple results formatted for email address reference

Gwill1983

Board Regular
Joined
Oct 24, 2018
Messages
123
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have a situation where an automated process references my spreadsheet to get an email address and send emails automatically. This all works perfectly with a simple vlookup, but I have now been asked to enable the email to go to multiple contacts so my basic vlookup now doesnt work!

My spreadsheet table is setup with column T being the managers email address. This is found by looking up in the managers email address table below:

Manager NameDepartmentEmail Address
TEST1Warehousetest@gmail.com
TEST2Warehousetest@gmail.com
TEST3Projectstest@gmail.com
TEST4IT (inc Business Systems)test@gmail.com

Obviously, if the department is Projects, then it finds the only result and returns it with no issue. If the department is warehouse then it will only return one of the results from this table.

Ideally, I want this lookup up to find all results and seperate them with a ; in order for this to then be pulled in as an email address within my power automate flow.

Can anybody assist with the lookup element of this?
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Upvote 0

Forum statistics

Threads
1,215,036
Messages
6,122,794
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top