+ Reply to Thread
Results 1 to 9 of 9

Prevent Duplicate Receipt Number in Three Column [ e.g. Column "A", "B", "C" ]

  1. #1
    Registered User
    Join Date
    03-27-2017
    Location
    India
    MS-Off Ver
    Office2010
    Posts
    6

    Prevent Duplicate Receipt Number in Three Column [ e.g. Column "A", "B", "C" ]

    Which Formula i have added in data validation cell. Pl send me formula and if possible than also send example in excel.

    I am entering various Receipt No. in Column A, B & C. I don't want duplicate Receipt No.
    Last edited by MrsCharmy; 03-27-2017 at 04:25 AM. Reason: More Specification.

  2. #2
    Registered User
    Join Date
    03-27-2017
    Location
    India
    MS-Off Ver
    Office2010
    Posts
    6

    Re: DataValidation

    Let Me clarify my issue in details.

    I have entered Receipt No. 1 In A1, 2 in A2, 3 in A3, 6 in A4, 7 in A5 &
    4 in B1, 5 in B2 &
    8 in C1, 9 in C2 & 10 in C3 - Column

    Suppose Now i an doing entering 3 in C4 than i must be prevented and flagged with Duplicate

  3. #3
    Registered User
    Join Date
    03-27-2017
    Location
    India
    MS-Off Ver
    Office2010
    Posts
    6

    Re: Prevent Duplicate Receipt Number in Three Column [ e.g. Column "A", "B", "C" ]

    Can you suggest write fourm my Issue? Pllllll Help if. Thnx
    Last edited by MrsCharmy; 03-27-2017 at 04:48 AM. Reason: Speling mistake

  4. #4
    Forum Contributor
    Join Date
    02-14-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    128

    Re: Prevent Duplicate Receipt Number in Three Column [ e.g. Column "A", "B", "C" ]

    MrsCharmy,

    Select the range of cells in which you want to prevent duplicates.
    From the Data menu select Validation. Click on the Settings tab. From the Allow dropdown box select Custom.
    In the formula box type =COUNTIF($A$1:$C$100,A1)=1 (Change the range as per your requirement)

    try this.
    Last edited by Manikandan Arumugam; 03-27-2017 at 04:55 AM.
    Manikandan Arumugam
    Excel Learner

  5. #5
    Registered User
    Join Date
    03-27-2017
    Location
    India
    MS-Off Ver
    Office2010
    Posts
    6

    Re: Prevent Duplicate Receipt Number in Three Column [ e.g. Column "A", "B", "C" ]

    By This Formula [ =COUNTIF($A$1:$c$20,A1)=1 ] my issue solved.

    but my data is not stored serially in Column A, B & C. But Say in Column A, D & F.
    Than how i can define this This three range in one formula.

    Thnx.

  6. #6
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: Prevent Duplicate Receipt Number in Three Column [ e.g. Column "A", "B", "C" ]

    G'day,

    Would some thing like this help ? Remember to change the countif ranges to suit your workbook.

    Please Login or Register  to view this content.
    Have I made you happy ??? If yes, please make me happy by pressing the http://www.excelforum.com/images/buttons/reputation-40b.png Add Reputation button in my post.
    Please don't forget to do the same to other contributors of this forum.

    Thanks
    I don't void confusion, I create it

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,323

    Re: Prevent Duplicate Receipt Number in Three Column [ e.g. Column "A", "B", "C" ]

    I have moved the misplaced post from the other thread into this one and now removed the extraneous posts. For future reference, Kev - had you reported the misplaced post in the other thread, we could have resolved this sooner. Please don't forget that the report button can be used for this sort of thing. Many thanks!
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  8. #8
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Prevent Duplicate Receipt Number in Three Column [ e.g. Column "A", "B", "C" ]

    @AliGW
    As you can see from my post, I thought this was user error. I chanced upon a mispost on the other thread and thought the user had 2 windows open (one for each thread) and did what I have previously done myself and typed in the wrong window
    So that I can be more observant in future, can you please explain how to identify this as a "forum" glitch as opposed to a "user" glitch.
    Thanks
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  9. #9
    Registered User
    Join Date
    03-27-2017
    Location
    India
    MS-Off Ver
    Office2010
    Posts
    6

    Re: Prevent Duplicate Receipt Number in Three Column [ e.g. Column "A", "B", "C" ]

    My Issue Now Solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  2. Replies: 1
    Last Post: 08-20-2016, 01:59 AM
  3. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  4. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  5. [SOLVED] If there is any text in column "A$" on "sheet1" then move cell to column "A$" on "sheet2"
    By ckgeary in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2013, 08:28 PM
  6. Replies: 2
    Last Post: 06-06-2013, 12:45 PM
  7. Replies: 0
    Last Post: 07-09-2009, 04:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1