Results 1 to 11 of 11

Optimizing the Formula to run faster Finding the latest record

Threaded View

  1. #1
    Registered User
    Join Date
    12-04-2012
    Location
    india
    MS-Off Ver
    2021
    Posts
    45

    Optimizing the Formula to run faster Finding the latest record

    Hi,

    I have a sheet with more than 100k records. Service name is in column B, while the date it was scanned is available in columns j:o.

    Formula in
    column H will calculate if it is the latest record (based on the date for this service) (=IF(K2=AGGREGATE(14,6,K$2:K$89750/(D$2:D$89750=D2),1),"Yes","No"))
    column I will calculate if the record is a latest one in that particular month. (=IF(K2=AGGREGATE(14,6,K$2:K$89750/(D$2:D$89750=D2)/(O$2:O$89750=O2),1),"Yes","No"))

    Ex: ABC service would have been scanned for more than 2 years, so that last scan when it was done is calculated in H. irrespective of the month.
    ABC service might have multiple scans in a particular month, the latest scan in that particular month is calculated in Column I .

    While the formula is correct, the excel sheet hangs up when calculating the records multiple times .

    Any operation i do, insert or edit takes huge amount of time and excel freezes, takes more than 8 minutes for just saving the file.

    using Excel 2010.

    Is there a way this formula can be optimized?

    sample sheet is attached.


    Appreciate the help.
    Attached Files Attached Files
    Last edited by zaveed; 04-19-2022 at 04:29 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] access database. Finding the latest status of a record between two tables.
    By svsands26 in forum Access Tables & Databases
    Replies: 2
    Last Post: 10-16-2019, 08:39 PM
  2. Replies: 1
    Last Post: 02-23-2018, 06:38 PM
  3. Replies: 3
    Last Post: 12-08-2015, 11:36 AM
  4. Finding latest data record with different dates
    By Rubyod in forum Excel General
    Replies: 4
    Last Post: 04-10-2015, 12:44 AM
  5. Highlight the latest record
    By ihinojosajr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-22-2014, 04:37 PM
  6. [SOLVED] Excel 2007 : Finding the latest data based on 2 variables
    By Dr Martin in forum Excel General
    Replies: 2
    Last Post: 06-28-2010, 11:50 AM
  7. Finding the newest / latest date in each record
    By Statsman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-01-2009, 07:40 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