+ Reply to Thread
Results 1 to 15 of 15

Need to speed up writing INDEx MATCH formula

  1. #1
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    387

    Need to speed up writing INDEx MATCH formula

    Hi,

    I have an INDEX,MATCH Array formula shown below. The sheet that the Formula is being written to has 50000 rows. This instruction takes 7 to 8 minutes to run.

    Please advise a better way. Thank you.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    My English is very poor, so please be patient >_<"

    Thanks & Regards.
    hkbhansali

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,910

    Re: Need to speed up writing INDEx MATCH formula

    Create helper column:

    =A2&B2&C2&D2

    Use:

    =VLOOKUP(D3&E3&F3&G3,'Closing Rate'!$E$2:$F$50000,2,0)
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    387

    Re: Need to speed up writing INDEx MATCH formula

    Hi Phuocam,

    Thank you.. U save my lots of time..it's work Perfect...Thanks a lottttttt...

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Need to speed up writing INDEx MATCH formula

    Without a file to test on, this is obviously untested.

    Try this non-array formula (no helper)
    =IFERROR(INDEX('Closing Rate'!$E$2:$E$50000,MATCH(D3&E3&F3&G3,INDEX('Closing Rate'!$A$2:$A$50000&'Closing Rate'!$B$2:$B$50000&'Closing Rate'!$C$2:$C$50000&'Closing Rate'!$D$2:$D$50000,0),0)),0)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    387

    Re: Need to speed up writing INDEx MATCH formula

    Hi FDibbins

    Your Formula works but take same time...Thanks for help...

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Need to speed up writing INDEx MATCH formula

    As long as you got your question solved
    Thanks for the feedback

  7. #7
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    387

    Re: Need to speed up writing INDEx MATCH formula

    Hi,
    I have reopen this thread because there is some changes in my formula

    please see attached workbook
    Attached Files Attached Files

  8. #8
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,910

    Re: Need to speed up writing INDEx MATCH formula

    Try:

    =IFERROR(INDEX(N:N,MATCH(A2&B2&C2&D2,O:O,0)),"")

  9. #9
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    387

    Re: Need to speed up writing INDEx MATCH formula

    Hi Phuocam ,

    Your formula works but its take too much time, I have data aprox 5000 rows.

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

    Re: Need to speed up writing INDEx MATCH formula

    Post deleted.
    Last edited by kvsrinivasamurthy; 07-20-2018 at 05:58 AM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  11. #11
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    387

    Re: Need to speed up writing INDEx MATCH formula

    Hi kvsrinivasamurthy

    I have copy formula & copied down but f3 getting wrong amount (not exact match)

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

    Re: Need to speed up writing INDEx MATCH formula

    Sorry, Lookup function needs LOOKUP Array in Ascending order.

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

    Re: Need to speed up writing INDEx MATCH formula

    s it possible to sort the LOOKUP table. If not original data Make a copy of that table and sort.

  14. #14
    Forum Contributor
    Join Date
    10-30-2003
    Location
    Singapore
    MS-Off Ver
    Excel 2019
    Posts
    197

    Re: Need to speed up writing INDEx MATCH formula

    Or………

    Try this non-helper solution :

    =SUMIFS('Closing Rate'!E:E,'Closing Rate'!A:A,D3,'Closing Rate'!B:B,E3,'Closing Rate'!C:C,F3,'Closing Rate'!D:D,G3)

    Regards
    Bosco

  15. #15
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    387

    Re: Need to speed up writing INDEx MATCH formula

    Hi Bosco,

    I had try your formula before but it's also time consuming

+ 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. Need help on writing an Index and Match Formula
    By warshad in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-11-2017, 05:01 PM
  2. Fuzzy Match Ort Inverted Index for better matches and speed?
    By Dubrock in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-15-2016, 03:44 AM
  3. [SOLVED] How to speed up this index match function
    By fluffyvampirekitten in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-27-2015, 03:50 AM
  4. INDEX(MATCH)) / LOOKUPS Processing Calculator Speed
    By AstToTheRegionalMGR in forum Excel General
    Replies: 1
    Last Post: 02-17-2015, 10:57 AM
  5. [SOLVED] Writing a Formula using Index &amp; Match In VBA
    By Authentik8 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2012, 08:26 AM
  6. Improving Speed of Index and Match Functions
    By hazza147 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-30-2010, 01:05 PM
  7. Match/Index Calcuation Speed
    By Rochy81 in forum Excel General
    Replies: 1
    Last Post: 10-01-2008, 04:19 PM

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