+ Reply to Thread
Results 1 to 7 of 7

Data Validation

  1. #1
    Registered User
    Join Date
    10-12-2018
    Location
    Brisbane
    MS-Off Ver
    Office 365
    Posts
    3

    Data Validation

    Hi Everyone,

    Just joined the form and looking for some assistance as I'm just getting into excel.

    I've have Office 365....

    I'm working on a rather large spreadsheet and have sorted most of the issues out except one.

    Here's the scenario, when the user types in a specific number into a cell a vlookup rule is applied and - in another cell I've set up a true / false formula as follows:
    =IF(L3=AW3,"True","False")

    I can't figure out how to apply a data validation to the column that if 'false' comes up then the get a pop up to say that number is invalid. I've tried a number of things but can't seem to get it to work...
    I'd appreciate any help...

    Cheers,
    John

  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 2406
    Posts
    44,662

    Re: Data Validation

    Try =L3=AW3 as your DV formula.
    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

  3. #3
    Registered User
    Join Date
    10-12-2018
    Location
    Brisbane
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Data Validation

    tried it as custom - then added formula but didn't work...

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Data Validation

    Welcome to the forum.

    I don't know why Glenn's formula doesn't work for you - it works for me. However, here's another option.
    (I assume you want the number entered in L3 to match the number in AW3 - if it's the other way round, amend the cell references below appropriately.)

    DV
    In the Data Validation for L3 set Allow to List. De-select In-cell dropdown. In Source enter =AW3.

    Pop-up Error Message
    Go to the Error Alert tab. Ensure Stop is selected for Style. Enter the Title and Error message you want (e.g. Invalid Number and The number entered must match AW3).
    You could also enter an Input Message which pops up instructions when the cell is selected.

    Hope that helps.
    Last edited by Aardigspook; 10-12-2018 at 06:47 AM. Reason: Add welcome
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

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

    Re: Data Validation

    I think we need to see a sample sheet, showing clearly what you are trying to do.

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).



    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

  6. #6
    Registered User
    Join Date
    10-12-2018
    Location
    Brisbane
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Data Validation

    Hi
    Thanks for your reply, yes now it's working...

    Thanks again...

    Cheers,,
    John

  7. #7
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Data Validation

    Glad we could help.
    As you're a new member, you may not know that you can mark the thread as Solved if your original question has been taken care of so others know there's an answer here. Instructions to do it are in my sig - if you could take a moment to do it, that would be appreciated. Thanks.

+ 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: 1
    Last Post: 01-14-2018, 11:04 AM
  2. Multi-select from data validation isn't working with auto-assigning data validation
    By iPenguin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-11-2017, 12:37 PM
  3. Replies: 3
    Last Post: 06-04-2015, 02:27 PM
  4. [SOLVED] Data Validation: How to clear/delete the content of the cell and not Data Validation List?
    By lukelucky in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-07-2015, 09:42 AM
  5. Replies: 4
    Last Post: 12-19-2013, 10:44 AM
  6. Adding Date Data Validation to cells with List Data Validation
    By biggtyme in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-03-2013, 09:47 AM
  7. Using Defined Names with Data Validation Depend and Data Validation Multi Select
    By Vinnie Chan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-01-2012, 05:36 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