Results 1 to 32 of 32

R1C1 cell reference in Vlookup...with wildcard?

Threaded View

musicman715 R1C1 cell reference in... 08-22-2013, 12:59 PM
GC Excel Re: R1C1 cell reference in... 08-22-2013, 01:09 PM
musicman715 Re: R1C1 cell reference in... 08-22-2013, 02:42 PM
MrShorty Re: R1C1 cell reference in... 08-22-2013, 03:30 PM
musicman715 Re: R1C1 cell reference in... 08-22-2013, 04:50 PM
MrShorty Re: R1C1 cell reference in... 08-22-2013, 04:55 PM
musicman715 Re: R1C1 cell reference in... 08-23-2013, 11:08 AM
MrShorty Re: R1C1 cell reference in... 08-23-2013, 11:20 AM
musicman715 Re: R1C1 cell reference in... 08-23-2013, 11:47 AM
musicman715 Re: R1C1 cell reference in... 08-23-2013, 01:00 PM
musicman715 Re: R1C1 cell reference in... 08-23-2013, 01:02 PM
MrShorty Re: R1C1 cell reference in... 08-23-2013, 01:35 PM
musicman715 Re: R1C1 cell reference in... 08-23-2013, 02:12 PM
MrShorty Re: R1C1 cell reference in... 08-23-2013, 03:23 PM
musicman715 Re: R1C1 cell reference in... 08-23-2013, 03:58 PM
musicman715 Re: R1C1 cell reference in... 08-23-2013, 04:56 PM
musicman715 Re: R1C1 cell reference in... 08-28-2013, 05:10 PM
MrShorty Re: R1C1 cell reference in... 08-23-2013, 04:44 PM
musicman715 Re: R1C1 cell reference in... 08-23-2013, 04:58 PM
MrShorty Re: R1C1 cell reference in... 08-23-2013, 06:07 PM
musicman715 Re: R1C1 cell reference in... 08-23-2013, 10:37 PM
musicman715 Re: R1C1 cell reference in... 08-23-2013, 10:32 PM
JBeaucaire Re: R1C1 cell reference in... 08-24-2013, 11:04 AM
MrShorty Re: R1C1 cell reference in... 08-25-2013, 11:46 AM
musicman715 Re: R1C1 cell reference in... 08-26-2013, 10:02 AM
MrShorty Re: R1C1 cell reference in... 08-28-2013, 06:16 PM
romperstomper Re: R1C1 cell reference in... 08-29-2013, 09:10 AM
musicman715 Re: R1C1 cell reference in... 08-29-2013, 12:53 PM
romperstomper Re: R1C1 cell reference in... 08-30-2013, 06:11 AM
musicman715 Re: R1C1 cell reference in... 08-30-2013, 12:19 PM
romperstomper Re: R1C1 cell reference in... 08-30-2013, 12:25 PM
JBeaucaire Re: R1C1 cell reference in... 08-30-2013, 01:45 PM
  1. #1
    Registered User
    Join Date
    10-03-2012
    Location
    Knightdale NC
    MS-Off Ver
    Excel 2010
    Posts
    16

    R1C1 cell reference in Vlookup...with wildcard?

    Hi All,
    My VBA Vlookup is working, but producing the wrong results, because I don't have an exact match of the text between the table where my formula goes, and the lookup table. Please help if you're able. I'd greatly appreciate it. Below is my functioning formula.

    Y4 = Range("A1", Range("A1").End(xlDown)).Rows.Count
    
    For n = Y4 - 3 To 2 Step -1
        Cells(n, 4).FormulaR1C1 = "=VLOOKUP(RC[-2],'[event master lookup table.xls]Sheet1'!C1:C4,4)"
    Next n
    it works for lookup values from table A, that have no other values similar in table B, such as "YO GABBA GABBA! LI" which is in table A, "Yo Gabba Gabba - AC Entertainment and Broadway Series South" which is in table B. I am not using exact match because the wording from table to table is not the same.

    The problem comes when I have a value in table A that is very similar to values in table B. The V lookup seems to pick the first close match, not the one that is really the matching title. Ex. "THE GIBSON BROTHER" is in Table A, and "The Gathering: A Holiday Concert - PineCone Piedmont Council of Traditional Music" and The Gibson Brothers - PineCone Piedmont Council of Traditional Music" are consecutive row entries in table B. The Vlookup seems picks, ""The Gathering: A Holiday Concert - PineCone Piedmont Council of Traditional Music", even though the "lookup value referred to with R1C1 notation is actually "THE GIBSON BROTHER". I think this is because the Vlookup is only matching the first several characters of the "lookupvalue" R1C1 reference, but I'm not sure, and I'd love for this vlookup to work correctly. I'd thought that, if there's a way to put a wildcard (*) on the R1C1 reference, so that it looks for any of the contents in the cell, not just the first few letters, that'd be great, but I've been searching online so far, with no success.
    Thanks for any help you can give!
    Musicman715
    Last edited by JBeaucaire; 08-24-2013 at 11:03 AM. Reason: Added CODE tags, as per Forum Rules. Take a moment to read the Forum Rules in the menu bar above. Thanks.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] R1C1 keep reference cell fixed in copy
    By ctosborne89 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-05-2012, 05:22 PM
  2. Use Match or Lookup to create dynamic cell reference in VBA R1C1 formula
    By rmunsun1 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-20-2012, 06:10 AM
  3. old (Excel 2.x) macro R1C1 reference to active cell
    By riwiseuse in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-19-2010, 09:15 AM
  4. Reference a cell in another workbook using R1C1
    By JonPugh in forum Excel General
    Replies: 3
    Last Post: 01-08-2010, 05:55 PM
  5. absolute cell reference in R1C1 reference style
    By Prorocentrum in forum Excel General
    Replies: 1
    Last Post: 06-18-2007, 04:59 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