send separate email each time a change is found in a range of cells

timlh42

Board Regular
Joined
Sep 27, 2017
Messages
76
I have employee names and accumulated points in column L The points are in the row directly below the name. I have a macro that will display the name in column M and the point total in column N once the value hits 2 or 3 or 5.

I would like to automatically generate a separate email every time a cell in column N reaches one of those numbers.

However, I don't want to resend an email that was already sent.

In other words..... if Sally, listed in column M row 3 has reached 2 points, listed in row 3 column N then an email gets sent. Later on, Jack, listed in column M row 7 reaches 2 points, listed in row 7 column N then an email gets sent about Jack.

I don't want another sent about Sally. However, If Sally then later reaches 3 points, I want another email sent about Sally but I don't want another one sent for Jack.

Here is a sample of the spreadsheet.

L M N
Total Points
Sally
2.0Sally2.0
Dave
0.0
Mike
3.0Jack 3.0
Larry
0.0
Ben
0.0Ben 3.0
Ron
0.0
<colgroup><col width="80" style="width: 60pt; mso-width-source: userset; mso-width-alt: 2925;"> <col width="32" style="width: 24pt; mso-width-source: userset; mso-width-alt: 1170;"> <col width="22" style="width: 17pt; mso-width-source: userset; mso-width-alt: 804;"> <tbody> </tbody>




I would be extremely grateful for any suggestions.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,214,951
Messages
6,122,449
Members
449,083
Latest member
Ava19

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