Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default unique vaules

Hi,
I would like to add some kind of feature to my XLS file but have no idea
how.
I have an excel file where i put all e-mail addresses for newsletter. I
gather more information then an email address but this feature is about
that.

All e-mails are row under row in column C. Every new person is added in the
last row (after last person).
Now, I would like the Excel to inform me (msgbox) when i input an e-mail
address which is already in the document (the user registered himself
twice).

I was looking for the solution of my problem for a long time but there is
absolutely nothing what google finds about it.
I would like to have an "E-Mail already exists!" message box when duplicate
email inputed.

I hope someone knows what am i talking about and is able to help me. Thanks
in advance.

Best regards
Byru


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default unique vaules

Byru,

In an adjacent column add the formula

=IF(and(A1<"",COUNTIF($A$1:A1,A1)1),"Email already exists","")

and copy down

--

HTH

RP
(remove nothere from the email address if mailing direct)


"byru" wrote in message
...
Hi,
I would like to add some kind of feature to my XLS file but have no idea
how.
I have an excel file where i put all e-mail addresses for newsletter. I
gather more information then an email address but this feature is about
that.

All e-mails are row under row in column C. Every new person is added in

the
last row (after last person).
Now, I would like the Excel to inform me (msgbox) when i input an e-mail
address which is already in the document (the user registered himself
twice).

I was looking for the solution of my problem for a long time but there is
absolutely nothing what google finds about it.
I would like to have an "E-Mail already exists!" message box when

duplicate
email inputed.

I hope someone knows what am i talking about and is able to help me.

Thanks
in advance.

Best regards
Byru




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default unique vaules

Or maybe use this
http://www.cpearson.com/excel/NoDupEntry.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Bob Phillips" wrote in message ...
Byru,

In an adjacent column add the formula

=IF(and(A1<"",COUNTIF($A$1:A1,A1)1),"Email already exists","")

and copy down

--

HTH

RP
(remove nothere from the email address if mailing direct)


"byru" wrote in message
...
Hi,
I would like to add some kind of feature to my XLS file but have no idea
how.
I have an excel file where i put all e-mail addresses for newsletter. I
gather more information then an email address but this feature is about
that.

All e-mails are row under row in column C. Every new person is added in

the
last row (after last person).
Now, I would like the Excel to inform me (msgbox) when i input an e-mail
address which is already in the document (the user registered himself
twice).

I was looking for the solution of my problem for a long time but there is
absolutely nothing what google finds about it.
I would like to have an "E-Mail already exists!" message box when

duplicate
email inputed.

I hope someone knows what am i talking about and is able to help me.

Thanks
in advance.

Best regards
Byru






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to add different vaules based on qauntity, is this possible? atoubia Excel Worksheet Functions 3 January 13th 09 07:06 PM
find and add vaules MLT Excel Worksheet Functions 1 August 3rd 08 07:14 PM
Sum first five vaules of changing range Lou Excel Discussion (Misc queries) 4 October 15th 07 01:37 PM
If no value in a1 how do I get a2 a3 a4 a5 a6 a7 a8 not to show their vaules pano Excel Worksheet Functions 4 February 11th 07 05:09 AM
Truning 0 vaules red bz Excel Worksheet Functions 1 March 31st 06 11:26 PM


All times are GMT +1. The time now is 10:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"