+ Reply to Thread
Results 1 to 5 of 5

Data validation special case (alphanumeric ascending order)

  1. #1
    Registered User
    Join Date
    01-27-2015
    Location
    Southern Norway
    MS-Off Ver
    2010/2013 Std
    Posts
    17

    Data validation special case (alphanumeric ascending order)

    I have a mandatory (if not blank) table OrderID column that looks like this:

    A0115
    A0215
    etc
    AXX15
    ....
    A0116
    A0216
    etc
    AXX16
    etc

    Need to ensure that entries are not duplicated.

    Anyone solved this special case in a simple way?

    BRGDS and thanks for your time
    Torers
    Last edited by torers; 05-30-2015 at 06:28 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Data validation special case (alphanumeric ascending order)

    I don't understand what you're asking and I don't see anything duplicated in your list.

    Please attach a sample workbook. Make sure there is enough data to demonstrate your need. Make sure your desired results are shown, mock them up manually if necessary. Remember to remove ALL confidential information first!!!

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    01-27-2015
    Location
    Southern Norway
    MS-Off Ver
    2010/2013 Std
    Posts
    17

    Re: Data validation special case (alphanumeric ascending order)

    Quote Originally Posted by Glenn Kennedy View Post
    I don't understand what you're asking and I don't see anything duplicated in your list.

    Please attach a sample workbook. Make sure there is enough data to demonstrate your need. Make sure your desired results are shown, mock them up manually if necessary. Remember to remove ALL confidential information first!!!

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Clarifying:
    A stands for customer. Customer is placing an order

    XX stands for sequence in year, from A0115 to AXX15

    The year-last 2 digits is (will be) year 2015- approx. 2025 (YY)

    1. User need a reminder/stop if registering same sequence twice in a year:
    Example - user inputs A1215 on row 50 which should be A2515

    2. Note: there are blank rows in the table columns, these should be ignored.
    (An order may contain several rows of article details, should be of no concern here.)

    Of course, if this problem were solved, the next would be:

    1. User needs a reminder if out of year sequence:
    Example – user inputs A1215 on row 100 which should be A2516

    2. ?

    To sum up:
    We have a table where the user must register in an OrderID column a continuous sequence from A0115..to AXXYY, and needs a warning/stop if anything is repeated.
    Reminder:
    “A” indicates the customer
    “XX indicates the customer’s new order, next in sequence
    “YY” indicates the year, next in sequence when order placed in new year
    The series to be controlled will then look like this example:

    A0115…..AXX15
    A0116… .AXX16
    etc
    A0125…..AXX2X

    Enjoy?
    Torers

  4. #4
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Data validation special case (alphanumeric ascending order)

    You can highlight column A. Click on conditional formatting, highlight cell rules, duplicate values. Now any time something is a duplicate in the column, it will be highlighted.
    Some people volunteer in soup kitchens or hospitals. I choose to make the world better by trying to help you with Excel. We're all learning.

    <---Click * Add Reputation for all helpful comments. It's like giving a smile.
    Forum Rules: How to mark your post [Solved] and have a happier, Excel enriched life.

  5. #5
    Registered User
    Join Date
    01-27-2015
    Location
    Southern Norway
    MS-Off Ver
    2010/2013 Std
    Posts
    17

    Re: Data validation special case (alphanumeric ascending order)

    Brilliantly simple

+ 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. AScending order of the data using formula
    By Elainefish in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-01-2014, 06:24 AM
  2. Dependent Data Validation Special Case
    By nukecity83 in forum Excel General
    Replies: 15
    Last Post: 04-09-2009, 10:43 AM
  3. Dependent Data Validation Special Case
    By nukecity83 in forum Excel General
    Replies: 1
    Last Post: 04-08-2009, 12:43 PM
  4. Sorting Data in ascending order
    By sharon2006 in forum Excel General
    Replies: 1
    Last Post: 03-13-2006, 09:10 PM
  5. [SOLVED] Is there a VLOOKUP substitute when data is not in ascending order
    By VJ7777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-19-2005, 05:06 AM

Tags for this Thread

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