+ Reply to Thread
Results 1 to 3 of 3

Faster way of writing two formulas?

  1. #1
    Forum Contributor
    Join Date
    11-26-2008
    Location
    UK
    MS-Off Ver
    Using Excel 2019
    Posts
    317

    Faster way of writing two formulas?

    Hi,

    I have two array formulas

    {=MAX(IF('NR1'!A:A=$A4,'NR1'!K:K))}

    {=INDEX('NR1'!J:J,MATCH($A4,IF('NR1'!K:K=$X4,'NR1'!A:A),0))}

    Originally these worked fine as there weren't many rows in my sheet. But now it has been expended considerably and I have them calculating in 112,000 cells (50% for one, 50% for the other) and unsurprisingly it's slowed my sheet down considerably (to a near halt!) Is there a way of re-writing these to make them run any quicker? I suspect I might have to break the sheet up, but I thought I'd check first...

    Thanks!

  2. #2
    Forum Contributor
    Join Date
    11-26-2008
    Location
    UK
    MS-Off Ver
    Using Excel 2019
    Posts
    317

    Re: Faster way of writing two formulas?

    Ah Ive just spotted there's referencing entire columns rather than the actual range. I will re-write with ranges in them. However if anyone has any suggestions feel free as I still suspect the column lookups are going to be quite large.

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,546

    Re: Faster way of writing two formulas?

    As you are using the 2019 version of Excel it seems you could rewrite the first array formula as the following regular formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The second one could probably be rewritten as a regular formula as well:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    It may help if we could see a sample (see banner at the top of the page).
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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 Math vs Excel Formulas, which is faster?
    By mattmc419 in forum Excel General
    Replies: 1
    Last Post: 12-26-2020, 07:33 PM
  2. [SOLVED] Array Formulas for Faster Calculations ?
    By Sarang_1984 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-29-2019, 02:56 PM
  3. Make model faster: convert formulas to text and then back to formulas
    By lucassdm7 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-25-2019, 06:49 AM
  4. Make excel workbooks with formulas run faster
    By MetteGaga in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-23-2017, 06:04 PM
  5. making formulas faster
    By ammartino44 in forum Excel General
    Replies: 5
    Last Post: 09-20-2014, 05:56 AM
  6. Faster alternatives to array formulas
    By Spellbound in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-10-2012, 08:37 PM
  7. VBA functions - faster than worksheet formulas?
    By TheRobsterUK in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-05-2005, 12:05 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