+ Reply to Thread
Results 1 to 7 of 7

Help with match function

  1. #1
    Registered User
    Join Date
    05-21-2015
    Location
    Gauteng, South Africa
    MS-Off Ver
    2010
    Posts
    11

    Question Help with match function

    Hi everybody,

    I am trying to use the match function... The code is as follows:
    Please Login or Register  to view this content.
    I get an error - Runtime error 1004, application-defined or object defined error.
    I think that the issues the range (matchrng) since this is the only variable that I can't see what it is when I hover my mouse over it.

    What am I missing or doing wrong?

    Thanks for any advice

    TL33

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Help with match function

    What is k equal too?

  3. #3
    Registered User
    Join Date
    05-21-2015
    Location
    Gauteng, South Africa
    MS-Off Ver
    2010
    Posts
    11

    Re: Help with match function

    Hi John,

    k is a variable used in a for loop. Sorry for not including the for loop, it completely slipped my mind

    TL33

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Help with match function

    I think we need too see more of your code, including the definitions of your variables too be able to help.

  5. #5
    Registered User
    Join Date
    05-21-2015
    Location
    Gauteng, South Africa
    MS-Off Ver
    2010
    Posts
    11

    Re: Help with match function

    Here is the code:

    Please Login or Register  to view this content.
    Thank you so much for taking the time to help me

    TL33

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Help with match function

    You need to declare your variables

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    05-21-2015
    Location
    Gauteng, South Africa
    MS-Off Ver
    2010
    Posts
    11

    Re: Help with match function

    Hi John,

    Even if I declare the variables, the same error occurs. Will you please look at the attached file, it contains my code.
    The problem is in the reporting macro.

    Thank you so much for you help thus far

    TL33

+ 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. Problems applying INDEX-MATCH-MATCH function on other data
    By LennartB in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-13-2015, 05:33 AM
  2. [SOLVED] Vlookup to Pivot Table, using Match function, returns error if can't find match value
    By AndrewHowarth in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-16-2015, 12:10 AM
  3. [SOLVED] Stuck on Match function with #N/A; attempting to reverse Index/Match
    By Cappytano in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-10-2014, 06:39 PM
  4. Replies: 3
    Last Post: 06-17-2013, 12:37 PM
  5. Replies: 5
    Last Post: 10-26-2012, 02:21 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