+ Reply to Thread
Results 1 to 18 of 18

alphanumeric Data Validation across tabs in a workbook

  1. #1
    Registered User
    Join Date
    11-02-2010
    Location
    Albuquerque, NM
    MS-Off Ver
    Excel 2007
    Posts
    99

    alphanumeric Data Validation across tabs in a workbook

    Good Morning Excel'ers

    I am trying to validate data across tabs within a workbook. The data is alphanumeric Formated as (ABC123). In the data validation options I've tied =isnumber(match(A1,list,0)) but only works for numbers. I'ved tried =istext(match(A1,list,0)) but no luck.

    Do any of you have any insight on how to validate a large list of alphanumeric characters on a seperate tab?

    Thanks

    JP

  2. #2
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: alphanumeric Data Validation across tabs in a workbook

    Name the list (select the cells, alt, i, n, d) then in the data validation bit where it asks for the list type =<the name of the list>

    hth
    CC


    If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: alphanumeric Data Validation across tabs in a workbook

    =isnumber(match(A1,list,0)) does not only work for numbers.

    The ISNUMBER() part is checking of MATCH() returned a position number, meaning it found an exact match to A1 in your list.

    So is ABC123 and exact match to something in the list named List? Check for spaces too.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    11-02-2010
    Location
    Albuquerque, NM
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: alphanumeric Data Validation across tabs in a workbook

    I've tied that under the list options as well as the custom options and sadly it still wont give me the error message when I enter an invalid vender ID

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: alphanumeric Data Validation across tabs in a workbook

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  6. #6
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: alphanumeric Data Validation across tabs in a workbook

    Quote Originally Posted by Cheeky Charlie View Post
    Name the list (select the cells, alt, i, n, d) then in the data validation bit where it asks for the list type =<the name of the list>

    hth
    Is there a reason we can't do this?

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: alphanumeric Data Validation across tabs in a workbook

    That would probably be a better choice, for accuracy and to avoid errors...

    I was basing my solution on assumption of continuation on a thread that the OP and I were involved in yesterday....

  8. #8
    Registered User
    Join Date
    11-02-2010
    Location
    Albuquerque, NM
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: alphanumeric Data Validation across tabs in a workbook

    I've included a test workbook with a request & vendor tabs. Maybe this will help. Ideally I would like the user to hit the look up botton search through the Vendors and then be able to click on the Vendor ID cell and it fill in the Vendor number cell (D6) on the Request tab But since I don't know how to do that, I thought validation would be a good second option
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    11-02-2010
    Location
    Albuquerque, NM
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: alphanumeric Data Validation across tabs in a workbook

    I've tried the list=Vendor where the list includes all vendor ids from the Vendor List tab. But it still wont give me the error option if I imput an inproper ID. I've tried, IsText, IsNonText, IsNumber, etc. and all gets the same results. Its ok when I enter the correct ID but when I purposely enter an invalid one to test... I get no message warning the user of the error.

  10. #10
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: alphanumeric Data Validation across tabs in a workbook

    On the Error Alert tab, in the Data Validation Wizard.. make sure the Show error alert after invalid data is entered checkbox is checked.

  11. #11
    Registered User
    Join Date
    11-02-2010
    Location
    Albuquerque, NM
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: alphanumeric Data Validation across tabs in a workbook

    Quote Originally Posted by NBVC View Post
    On the Error Alert tab, in the Data Validation Wizard.. make sure the Show error alert after invalid data is entered checkbox is checked.
    It is checked. The error message does not display when data is entered that is invalid

  12. #12
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: alphanumeric Data Validation across tabs in a workbook

    Sorry just saw your attachment ... uncheck the Ignore Blank checkbox in the Settings tab.

  13. #13
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: alphanumeric Data Validation across tabs in a workbook

    Or make VENDOR a dynamic named range with formula:

    =OFFSET('Vendor List'!$B$6,0,0,COUNTA('Vendor List'!$B:$B)-1,1)

    so that blanks are not included in the list.

  14. #14
    Registered User
    Join Date
    11-02-2010
    Location
    Albuquerque, NM
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: alphanumeric Data Validation across tabs in a workbook

    Finally got it to work. I wouldn't have thought that simple check box would stop it but unchecking it did the trick. Thanks for all the help again.

    I've started a new thread on the programing section on how to let the user to hit the look up botton search through the Vendors and then be able to click on the Vendor ID cell and it fill in the Vendor number cell (D6) on the Request tab. Would you know how to do that too?

  15. #15
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: alphanumeric Data Validation across tabs in a workbook

    NBVC knows everything...

  16. #16
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: alphanumeric Data Validation across tabs in a workbook

    I will leave the VBA solutions to more VBA-knowledgeable people..

  17. #17
    Registered User
    Join Date
    11-02-2010
    Location
    Albuquerque, NM
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: alphanumeric Data Validation across tabs in a workbook

    What if I said please???? will you help then?

  18. #18
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: alphanumeric Data Validation across tabs in a workbook

    It is not that I don't want to help, it is that I don't know how to accomplish your request. If you haven't got answers to the query you have not posed the question so that one understands your request easily or maybe somebody is working on a solution as we speak. If you don't get replies in a reasonable amount of time (hours not minutes) then try to bump your thread and add clarity to it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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