+ Reply to Thread
Results 1 to 5 of 5

Vlookup macro doesn't show data in column G

  1. #1
    Forum Contributor
    Join Date
    02-27-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    2013
    Posts
    447

    Vlookup macro doesn't show data in column G

    Hi,

    I have created a workbook with two sheets. With a Vlookup macro i want to display in the columns the data in the list in the second sheets.
    Somehow column "G" in the first sheet doesn't show any results. What am i doing wrong here?

    Any input is much appreciated!
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,913

    Re: Vlookup macro doesn't show data in column G

    Your VLOOKUP is trying to return a value from the 14th column in the range, however the range selected is A:M which is only 13 columns.

    Which column from the second sheet are you trying to return from?

    BSB

  3. #3
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,913

    Re: Vlookup macro doesn't show data in column G

    Try changing this line:
    Please Login or Register  to view this content.
    To this:
    Please Login or Register  to view this content.
    BSB

  4. #4
    Forum Contributor
    Join Date
    02-27-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    2013
    Posts
    447

    Re: Vlookup macro doesn't show data in column G

    Thanks i understand the problem now, i didn't refer to the full matrix in the second sheet.

  5. #5
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,913

    Re: Vlookup macro doesn't show data in column G

    Exactly that.

    Glad I couple help

    BSB

+ 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] Column Chart Doesn't Show The Data Series
    By zanshin777 in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 10-13-2020, 07:45 AM
  2. After updating PivotTable Source data with Macro, slicer doesn't show PivotTable
    By mrdouglaswee in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-17-2018, 02:10 AM
  3. [SOLVED] Macro doesn't show specific dates
    By chillern1 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-09-2018, 08:57 AM
  4. Replies: 2
    Last Post: 11-20-2015, 12:42 PM
  5. Pivot doesn't show data
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-25-2011, 12:12 PM
  6. Recording new excel macro, relative reference button doesn't show
    By Dano in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 08-23-2005, 03:05 PM
  7. VLOOKUP function now displays text and doesn't show result
    By mbrockway in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2005, 01:48 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