Vlookup, concatenate and buttons

sderooy

New Member
Joined
Feb 7, 2017
Messages
1
Hi All,

I am a relative novice to Excel, though know how to use basic VLOOKUP. Appreciate any help you can provide.
What I am trying to do is automate an email distribution per the example below using buttons.

Say I need to send an email to groups B and D, then I would like to click on button B and D and have the cell labeled 'OUTPUT' automatically populated with all the email addresses separated by 'semicolon and a space'
There is also an added complication with B and D since 'cuttysark' is found twice, can the formula remove duplicates?

So the questions are
1. how do I create buttons?
2. how do I allow the buttons to execute a query like the one above?


A
whitehorse@google.com

<tbody>
</tbody>
B
johnniewalker@google.com

<tbody>
</tbody>
jimbeam@google.com

<tbody>
</tbody>
cuttysark@google.com

<tbody>
</tbody>
jeremiahweed@google.com

<tbody>
</tbody>
C
chivasregal@google.com

<tbody>
</tbody>
wildturkey@google.com

<tbody>
</tbody>
D
glenmorangie@google.com

<tbody>
</tbody>
jackdaniels@google.com

<tbody>
</tbody>
glenfiddich@google.com

<tbody>
</tbody>
cuttysark@google.com
OUTPUT

<tbody>
</tbody>

<tbody>
</tbody>

Many thanks
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,215,988
Messages
6,128,142
Members
449,426
Latest member
revK

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