Auto Email table from filtered results in excel

TomDrury89

New Member
Joined
Aug 22, 2018
Messages
14
Hi,

I am trying to develop a macro in where auto emails are generated and sent from certain filtered scenarios. This data is over 1500 rows long, so i am hoping that rather then individual emails it consolidates per the manager email. I have listed some scenarios and expected outcomes below.

Scenarios
- If Manager Approved Column is Blank - Email supervisor email in column5
- If Manager Approved is Not blank - No Action Required
- if column6 states "Do Not Email" - No Action Required
- If column2 is blank - email employee email (column4) + cc manager email

NameEmployee ApprovedManager ApprovedEmployee EmailManager EmailEmail CommentOUTCOME
Test1Xemployee1@test.comSupervisor1@test.comEmail sends to supervisor1, also includes test6 in a consolidated table
Test2X1employee2@test.comSupervisor2@test.comNo Action
Test31employee3@test.comSupervisor2@test.comNo Action
Test4employee4@test.comSupervisor3@test.comDo Not EmailNo Action
Test5employee5@test.comSupervisor1@test.comEmail sends to employee5 + cc supervisor 1
Test6Xemployee6@test.comSupverisor1@test.comEmail sends to supervisor1, also includes test1 in a consolidated table

Any help would be appreciated.


Thank You !!
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

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