Hello Friends,
I need help, I am preparing one excel where I want to set One cell of each row for entering PAN Card Details. Condition is that cell should allow only PAN Original PAN numbers that is first 5alfabetsthen 4 numeric and last alfabet.
Can any one help me in this. It is very urgent for me.
Hi, i am just a beginner. I need to learn how to achive the following in excel work sheet.
When we put a unique number (id number) into a cell and "enter", immediately a message should come if the number has been already entered or not. Means a alert should come if the value is duplicate. How to make it possible? pls guide. (if this is not the right way to ask a question in this fourm then too guide me how to do that)
Thank you Luke sir for your replyHi Vincy, and welcome to the forum. As a new member, I'd suggest reading some of the guides here:
http://chandoo.org/forum/forums/new-users-please-start-here.14/
and then if you have a question, you can post it here:
http://chandoo.org/forum/forums/ask-an-excel-question/create-thread
For your specific question, you can accomplish this using Data Validation. Let's assume your cell is A2. Select the cell, and goto Data - Data Validation. Select "Custom" rule, and input this formula:
=COUNTIF(A:A,A2)<2
If you want a specific message to appear, before hitting "ok", go over to the error alert tab, and write out your message. Then, ok out, and you're all set!
Sir i tried.I use excel2007.Thank you Luke sir for your reply
Let me try. I hope i can select a whole coloum and put that formula so that when ever i put the "id number" in any cell of that colum it should prevent a duplicate.
Wow Luke sir, it is working. It prevents any repeat of previously entered nubers in the whole coloum A.When you selected the whole column, I'm guessing that cell A1 was active, not A2. You will need to adjust the formula to account for that. Selecting whole column, with A1 being the active cell, formula is:
=COUNTIF(A:A,A1)<2
If this doesn't solve the issue, I strongly suggest creating a thread as I suggested above. Not everyone checks this thread for problems/solutions.