emails - mail merge : group data

neveu

Board Regular
Joined
Jan 27, 2009
Messages
225
hello forum,

i would need your help for the following chalenge:

i have a database with 13 columns that has on column A the vendor number adn on column K the invoice amnt, on column L i have the email adress;
on column M i have a drop drown list (yes / no) . this enable the email to be sent to that specific adress.

what i would like to do is to send an email to each of the unique vendor number [it might be that a vendor number has several lines in the database] that would contain all the information from columns A to K for that specific vendor line.

the column O enables if that specific line should be included in the email or not.
Code:
[URL=http://imageshack.us/photo/my-images/546/mailmerge1.jpg/][IMG]http://img546.imageshack.us/img546/9964/mailmerge1.jpg[/IMG][/URL]
Uploaded with [URL=http://imageshack.us]ImageShack.us[/URL]
also i would need to include in the body of the message the total amnt of the invoice from that spefici vendor ; that would be the sum of the amnts in column K .

here is a print screen on how my database would look and a print screen on how my mails should look.
Code:
[URL=http://imageshack.us/photo/my-images/3/mailmerge2.jpg/][IMG]http://img3.imageshack.us/img3/1300/mailmerge2.jpg[/IMG][/URL]
Uploaded with [URL=http://imageshack.us]ImageShack.us[/URL]

thank you in advance.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,224,600
Messages
6,179,833
Members
452,947
Latest member
Gerry_F

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