Automatically Email Rows Based on Cell Contents and Conditions, Possibly Via Mail Merge

dmcgetti

Board Regular
Joined
Feb 16, 2015
Messages
66
Good Afternoon!

I have a spreadsheet where I track return requests and this is how I envision the process working:

A new row is enter into the sheet, column "W" is automatically populated via a formula with either "YES", "NO", or "Need Manager Approval". If the column contains "YES" an email is generated that contains info from the row formatted one way, if it contains a "NO", a different email is created that has info from the row, like a mail merge. If it contains "Need Manager Approval" nothing happens until it is manually changed to "YES" or "NO". I would also like to be able to change an already "processed" "NO" to a "YES" and generate the "YES" email, if for some reason management changes their mind.

I guess what I want to do is to monitor column "W" and once the row contains "YES" send the email and stop monitoring.

I hope this makes sense, it has been a long day and my head is throbbing....



ABCDEFGHIJKLMNOPQRSTUVWX
1DateInvoiceNumberPartNumberQuantityReasonForReturnSalesmanEmailCustomerNameCustomerNumberZoneShipToShipToAddressShipToCityShipToStateShipToZipBinPartNumber2PartDescriptionEmployeeNumberInvoiceDateSalePriceCostPOOKMRANumber
23/13/20183238785D40609HM0A1NEW RETURNTEST@EMAIL.COM VANGUARD CAR RENTAL USA INCZ3204000662NDRUN NCR PHILA7001 ESSINGTON AVEPHILADELPHIAPA000003330CD4060-9HM0APAD KIT-DISC BR5741/2/201817VMH21173Need Manager Approval100000
33/13/20183285415954864831NEW RETURNTEST@EMAIL.COMPARKWAY A B OF NUTLEYZ6629000660000000001330C95486483APPLIQUE1391/26/201810080YES100001
43/13/20183353137952452171NEW RETURNTEST@EMAIL.COM** RELIABLE AUTO BODYZ826060366000000000321D3A95245217BRACKET1393/6/20182115NO
53/13/20183351080T6653AA1CORETEST@EMAIL.COMBOB HOPE AUTOMOTIVEZ888584466000000000C114C C115C C114DT6653AATRANS22303/6/20182012 ECONOLINEYES100002

<tbody>
</tbody>
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,214,830
Messages
6,121,835
Members
449,051
Latest member
excelquestion515

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