+ Reply to Thread
Results 1 to 2 of 2

extend index & match function

  1. #1
    Registered User
    Join Date
    09-04-2020
    Location
    Dubai
    MS-Off Ver
    Office for Mac Version 16.40
    Posts
    5

    extend index & match function

    Hi everyone,

    I would like to extend the index-match function i have used. Currently it returns the date found in sheet 2 if the first column is a match with the data in the leave sheet. I would like it to match & return the second column if the first column (ID) & the second column(Start date) match with the code & dateFrom columns in Sheet2.

    For 10-May-2019 on leave sheet the result column should show n/a.

    Thank you
    Attached Files Attached Files
    Last edited by BISOUX; 08-08-2021 at 09:31 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: extend index & match function

    try

    =INDEX(Sheet2!$B$2:$B$7,MATCH(Leave!$A2&Leave!$B2,Sheet2!$A$2:$A$7&Sheet2!$B$2:$B$7,0))

    enter with Ctrl+Shift+Enter

    and change your dates to Excel dates; do not use TEXT dates ( use Text-to-Columns to convert)
    Last edited by JohnTopley; 08-08-2021 at 10:00 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. VBA function to match multiple criteria faster than vlookup or index match
    By bkav1991 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-09-2020, 09:14 AM
  2. Replies: 7
    Last Post: 10-03-2019, 11:23 AM
  3. How to apply an Index.Match.Match function to all entries in a Listbox on a User Form
    By jason.drozd in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-25-2018, 01:54 AM
  4. 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
  5. [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
  6. Replies: 3
    Last Post: 06-17-2013, 12:37 PM
  7. extend index/match
    By want2learn in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-10-2011, 01:46 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