+ Reply to Thread
Results 1 to 3 of 3

Need some help with validation.

  1. #1
    Registered User
    Join Date
    04-23-2014
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Need some help with validation.

    If a checkbox is checked I need to ensure that at least one cell in a range of cells contains a 6 digit number, It may contain more numbers and even dashes but it must contain 6 digits. I am stumped on this one.

    I have a cell linked to the check box.

    I have also created a formula that counts the number of characters in the range of cells. I thought I could use custom validation and use those two variables to determine if it was validated, but I have been unable to come up with anything that works.

    Thanks in advance for any help you can provide.

    -Mike
    Last edited by binaryfx; 04-23-2014 at 03:06 PM.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,492

    Re: Need some help with validation.

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

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

    View Pic
    Quang PT

  3. #3
    Registered User
    Join Date
    04-23-2014
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Need some help with validation.

    No dice. I have tried three different browsers on two different OSs and it will not let me upload the file.

    Let me try to explain it a little better...

    I have three cells which are for different tax id numbers for the purpose of proving tax free status.
    I only need one of those cells to be completed if a checkbox(checkbox is linked to cell I59) is checked.

    The entry will be a 6 digit number but could include dashes so it might go up to 12 digits. i am not concerened with the format, only that something is entered and is at least 6 digits in length.

    What I was thinking about was a nested IF

    something like:

    =IF(I59=TRUE,IF("count of digits in the nameed range of cells which is called TAXID" >= 6,continue,ERROR),proceed)

    The part in quotes is what I am unable to work out. Does that make it about as clear as mud?

+ 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. [SOLVED] Using Dependant Validation. Show error or blank if Inital Validation Changes
    By marsham in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-20-2013, 04:24 PM
  2. Date and count validation in single cell - Custom Validation
    By murugavelmsc in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-16-2013, 05:25 AM
  3. Replies: 2
    Last Post: 11-24-2010, 01:07 PM
  4. validation rules not working when someone copy paste data on validation cell
    By jthakrar in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-17-2010, 03:36 AM
  5. data validation-Can the source of the validation criteria be dfrom a different sheet?
    By yael pinkert in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-07-2009, 04:28 AM

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