+ Reply to Thread
Results 1 to 5 of 5

Help ! With INDEX MATCH function

Hybrid View

fluffyvampirekitten Help ! With INDEX MATCH... 07-09-2015, 10:44 PM
GC Excel Re: Help ! With INDEX MATCH... 07-09-2015, 11:06 PM
fluffyvampirekitten Re: Help ! With INDEX MATCH... 07-10-2015, 04:37 AM
Jacc Re: Help ! With INDEX MATCH... 07-10-2015, 04:40 AM
fluffyvampirekitten Re: Help ! With INDEX MATCH... 07-10-2015, 05:02 AM
  1. #1
    Registered User
    Join Date
    07-01-2015
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    66

    Help ! With INDEX MATCH function

    Could anyone help me look at my Index Match function vba code
    I got an error 1004


    Range("S2").FormulaR1C1 = "= INDEX([PatientMerge.xls]2015!C10,1)Match(RC[-16][PatientMerge.xls]2015!,C10,0))"

  2. #2
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,414

    Re: Help ! With INDEX MATCH function

    Maybe this :

    Range("S2").FormulaR1C1 = "= INDEX([PatientMerge.xls]2015!C10,1)Match([PatientMerge.xls]2015!RC[-16],C10,0))"

    if it does not work, type your formula in a cell, then go in the VBA Editor, open the Immediate Window (CTRL+G) and type: ? Activecell.FormulaR1C1
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

  3. #3
    Registered User
    Join Date
    07-01-2015
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    66

    Re: Help ! With INDEX MATCH function

    Quote Originally Posted by GC Excel View Post
    Maybe this :

    Range("S2").FormulaR1C1 = "= INDEX([PatientMerge.xls]2015!C10,1)Match([PatientMerge.xls]2015!RC[-16],C10,0))"

    if it does not work, type your formula in a cell, then go in the VBA Editor, open the Immediate Window (CTRL+G) and type: ? Activecell.FormulaR1C1

    I got
    Run-Time error '1004':
    Application-defined or object-defined error

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,883

    Re: Help ! With INDEX MATCH function

    The macro recorder is gold for making formulas in VBA.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  5. #5
    Registered User
    Join Date
    07-01-2015
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    66

    Re: Help ! With INDEX MATCH function

    Quote Originally Posted by Jacc View Post
    The macro recorder is gold for making formulas in VBA.
    I did use macro recorder but still i got the same error

    and is there anyway i can record IndexMatch formula ?
    Cos I can only see Index formula or Match Formula , it wasnt together
    Last edited by fluffyvampirekitten; 07-10-2015 at 05:04 AM.

+ 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. function INDEX MATCH MATCH doesn´t work
    By leonelcd in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-31-2015, 11:36 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: 6
    Last Post: 03-17-2014, 08:10 PM
  5. Replies: 3
    Last Post: 06-17-2013, 12:37 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