Results 1 to 6 of 6

VBA lookup a name based on a number

Threaded View

Aagaard806 VBA lookup a name based on a... 01-03-2018, 03:34 PM
mrice Re: VBA lookup a name based... 01-03-2018, 03:43 PM
Aagaard806 Re: VBA lookup a name based... 01-03-2018, 04:43 PM
xladept Re: VBA lookup a name based... 01-03-2018, 03:58 PM
xladept Re: VBA lookup a name based... 01-03-2018, 08:49 PM
xladept Re: VBA lookup a name based... 01-04-2018, 03:04 PM
  1. #1
    Registered User
    Join Date
    10-24-2017
    Location
    Aarhus, Denmark
    MS-Off Ver
    2016
    Posts
    15

    VBA lookup a name based on a number

    Hello everyone
    Hope you can help since i'm new to VBA
    I want to create a macro that has similarities to the Vlookup function.
    The reason for this (illustrated in the Excel sheet) is that i have a list of different codes and the associated names (column F & G). In column B the user then inputs the code, and the macro should then automatically report the associated name in column C. If the user enters a code that doesn't have a name associated it should mark the column C cell as red (see example in sheet)

    Thank you
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Lookup unknown number in a row based on a range
    By joelev in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-29-2017, 08:14 AM
  2. [SOLVED] Row number based on lookup value
    By silambarasan.J in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-02-2016, 11:09 AM
  3. Unique Number based on conditions with lookup
    By pauldaddyadams in forum Excel General
    Replies: 6
    Last Post: 01-07-2015, 11:19 PM
  4. [SOLVED] Lookup value based on specified number sequences
    By 00pumpkin in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-08-2014, 12:10 PM
  5. Replies: 13
    Last Post: 12-19-2012, 02:38 PM
  6. lookup based on a row number
    By chrisrowe_cr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-15-2005, 10:05 AM

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