data validation

WillemS

New Member
Joined
Jul 20, 2014
Messages
27
Hi there, I need some help, please. I receive various email addresses in excel, in the same workbook in a sheet called Mail by manual input from various users, which I then use the specific email address received to send a letter via outlook to the customer linked to the email address entered by the requesting user. To prevent the duplication of using the same email address again if a user makes a mistake to load the same email address in the excel sheet called Mail, a few days later and or at any given point, when the email address was already used by me to send a letter to the client, I need some sort of database and or VBA code and or process to validate the new email address as it arrives in the excel sheet called Mail, input by various users, to automatically see whether it was already used to send a mail to a customer or not. If the email address was already used it must reject it and move it to a rejection list in the same workbook on a sheet called Reject and if not used before it must move it to an awaiting email sheet in the same workbook called Await. Please help.Much appreciated.Thank you .W
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
I re-read your request and I think you can start to accomplish what you want at the user input level to avoid duplicates by adding a column with a formula that will check for duplicates. From there you can then filter the list and copy past information into the sheets you want for Reject or Await.

Cell Formulas
RangeFormula
B2:B8B2=IF(ISERROR(MATCH(A2,$A$1:A1,0)),"Y","N")
 
Upvote 0

Forum statistics

Threads
1,214,823
Messages
6,121,779
Members
449,049
Latest member
greyangel23

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