+ Reply to Thread
Results 1 to 5 of 5

VBA or Formula Index Match Issue (Illustration Provided)

  1. #1
    Registered User
    Join Date
    10-06-2023
    Location
    Singapore
    MS-Off Ver
    2021
    Posts
    27

    Post VBA or Formula Index Match Issue (Illustration Provided)

    Untitled.png

    Help.xlsx


    Hopefully everyone will understand this picture. Any formula or vba for this?

    I understand the first part:

    =INDEX(Sheet1!D:D, MATCH(G719, Sheet1!H:H, 0))

    but the date range is hard. i keep getting errors.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2412 (Windows 11 24H2 64-bit)
    Posts
    88,706

    Re: VBA or Formula Index Match Issue (Illustration Provided)

    Try this:

    =INDEX(Sheet1!$D:$D,MATCH(1,(Sheet1!$H:$H=G719)*(Sheet1!$J:$J=R719),0))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,218

    Re: VBA or Formula Index Match Issue (Illustration Provided)

    You don't have any End Dates in column J of your sample file.

    Pete

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: VBA or Formula Index Match Issue (Illustration Provided)

    In A719 copied to full range
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: VBA or Formula Index Match Issue (Illustration Provided)

    NEVER use that sort of formula with whole columns. It will be VERY slow, as MATCH will look every one of Excel's 1,000,000+++ rows . Instead use sensible ranges.

    =INDEX(Sheet1!$D$2:$D$300,MATCH(1,(Sheet1!$H$2:$H$300=G719)*(Sheet1!$J$2:$J$300=R719),0))
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

+ 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. Remove Based on a Pattern in a Cell (Illustration Image Provided)
    By hewonoy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2024, 01:10 PM
  2. [SOLVED] [VBA] Cleaning Help (Illustration image provided)
    By hewonoy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-13-2023, 06:42 PM
  3. [SOLVED] Index Match Formula Issue
    By gotiono in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-18-2021, 01:32 PM
  4. Replies: 1
    Last Post: 08-17-2019, 01:11 PM
  5. Replies: 2
    Last Post: 06-17-2016, 12:46 PM
  6. #N/A issue with index/match formula
    By jorjacman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-24-2014, 10:00 AM
  7. [SOLVED] Index/Match Formula Issue
    By Tamarissa in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-23-2012, 06:35 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