+ Reply to Thread
Results 1 to 2 of 2

If Vlookup N/A, Input Box to Assign the look up cell to the data table

  1. #1
    Registered User
    Join Date
    05-21-2015
    Location
    Minnesota
    MS-Off Ver
    2010
    Posts
    2

    If Vlookup N/A, Input Box to Assign the look up cell to the data table

    I export a list of codes that vary daily.
    I have a table in my excel document that has most of these codes & each are assigned one out of 4 categories.

    I copy and paste my exported codes into a worksheet.
    From there I start my macro: it uses vlookup formula to assign each code its category. [this is so I can autofilter later]
    However, because codes change/come and go, some codes are not in my table.
    When the vlookup comes back #n/a because the code isn't in my table, I want an input box to prompt the user.
    The user would then assign the code one of the 4 categories & press OK- this data would be transfered to the table & then allow the vlookup to return the category and continue down the list.


    Something like this possible? I know basic coding for vlookups and input boxes, just not sure how to get one on error down a list

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: If Vlookup N/A, Input Box to Assign the look up cell to the data table

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. 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 shown, mock them up manually if necessary.

    Remember to desensitize the data.

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

    View Pic
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

+ 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. If Vlookup N/A, Input Box to Assign the look up cell to the data table
    By francisExcelWizard in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2015, 05:49 PM
  2. [SOLVED] Changing The Input Cell Of One-Way Data Table
    By zanshin777 in forum Excel General
    Replies: 4
    Last Post: 08-30-2015, 01:15 PM
  3. [SOLVED] Input Cell in One variable data table
    By Dottore Magistrale in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 09:05 PM
  4. Input Cell in One variable data table
    By Dottore Magistrale in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 09:05 AM
  5. [SOLVED] Input Cell in One variable data table
    By Dottore Magistrale in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 AM
  6. [SOLVED] Input Cell in One variable data table
    By Dottore Magistrale in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  7. Assign a Macro to a Cell Input
    By tim4682 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2005, 11:45 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