+ Reply to Thread
Results 1 to 2 of 2

Index Match with VBA

  1. #1
    Registered User
    Join Date
    07-23-2022
    Location
    Hong Kong
    MS-Off Ver
    2016
    Posts
    8

    Index Match with VBA

    Hi everyone!

    I am working on a project that I need some help with. Thanks in advance!

    The table below is the raw data file.

    Type ID Result Date
    Name ku Joe 1/6/2022
    Name ku Sam 2/6/2022
    Name ku James 30/6/2022
    Drink ip Sprite 2/6/2022
    Drink ip Sprite 2/6/2022
    Drink ip Fanta 30/6/2022

    I need to be able to map the data according to the table below based on the date, it has to be the last day of the month. I will always have to map the 'Result' column based on the 'Date' in the raw data file.

    Type ID Result
    Name ku James
    Drink ip Fanta
    Last edited by skatey; 07-26-2022 at 11:18 AM.

  2. #2
    Forum Contributor Dante Amor's Avatar
    Join Date
    07-24-2020
    Location
    MEXICO
    MS-Off Ver
    Excel 2013
    Posts
    212

    Re: Index Match with VBA

    Try this:

    Please Login or Register  to view this content.
    Test file:
    Attached Files Attached Files
    Last edited by Dante Amor; 07-26-2022 at 04:28 PM.

+ 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] index match function vs index match vba type mismatch
    By johnstylez in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-14-2022, 03:29 PM
  2. [SOLVED] INDEX+MATCH instead of VLOOKUP+MATCH, why is INDEX a better choice and how to re-write?
    By Renejorgensen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2016, 10:54 AM
  3. [SOLVED] Index / Match - match 3 input values and return the results from the index
    By t83357 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2016, 07:34 PM
  4. [SOLVED] Match-Index in stead of Index-Match lookup Array among Arrays
    By Numnum in forum Excel General
    Replies: 2
    Last Post: 10-15-2015, 02:08 PM
  5. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  6. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  7. Replies: 3
    Last Post: 05-02-2013, 01:31 AM

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