+ Reply to Thread
Results 1 to 3 of 3

Apply Data Validation to result of Vlookup?

  1. #1
    Registered User
    Join Date
    07-19-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2008 Mac
    Posts
    3

    Question Apply Data Validation to result of Vlookup?

    Hi folks, im not sure if this is possible and if it is, i need a Macro / VBA free solution as my network has disabled these functions .

    I currently have a spreadsheet that looks up a person's details based on their assigned number. i.e. cell A1 (manually enter assigned number), cell B1 (Vlookup person's Name) and C1 (Vlookup person's Job Title).

    What i need is for the data returned to C1, for example "Manager" to be validated against a list of possible options (e.g Sales Assistant, Assistant Manager, Cleaner) and for an error message to pop up if the data returned is not in the list. So in this example the, the Vlookup returning "Manager" should bring up the error. However, when i set this up, the error only comes up when i double click the cell (C1) and hit enter (to calculate the formula?). If i dont do this, the incorrect value is allowed by the validation when it shouldnt be...

    Any thoughts on how to have the Vlookup data checked automatically against the validation criteria whenever the assigned number in cell A1 is changed?

  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,053

    Re: Apply Data Validation to result of Vlookup?

    Easier to follow when we have a sheet to play with...

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    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.
    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
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Apply Data Validation to result of Vlookup?

    Please Login or Register  to view this content.
    Valid positions range could be a list in another tab

+ 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] Apply Data Validation to a Row
    By bhenlee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2016, 05:37 PM
  2. [SOLVED] How to apply nested IF functions in data validation
    By adriano.r.marques in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-29-2015, 06:01 PM
  3. [SOLVED] Apply Data Validation on Sum Values
    By abhinavbinkar in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-31-2015, 11:31 PM
  4. [SOLVED] Data Validation custom formula - how to apply?
    By D_N_L in forum Excel General
    Replies: 3
    Last Post: 07-01-2014, 08:41 AM
  5. [SOLVED] Apply data validation in Userform
    By IKZOUHETNIETWETEN in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-28-2013, 03:03 PM
  6. Apply data validation to the whole column
    By zarab in forum Excel General
    Replies: 10
    Last Post: 09-29-2013, 09:05 AM
  7. Replies: 5
    Last Post: 09-23-2013, 05:06 PM

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