Results 1 to 6 of 6

Sumproduct needs optimization

Threaded View

  1. #1
    Registered User
    Join Date
    06-27-2018
    Location
    uSA
    MS-Off Ver
    2013
    Posts
    2

    Sumproduct needs optimization

    Hi,
    I am using SUMPRODUCT to summarize the vacation days for all employees for each month. My formula looks like this:
    =SUMPRODUCT(
    ('Cal'!$B$4:$B$160=Summary!$B8)*
    (('Cal'!$C$4:$ND$160="VC")+
    ('Cal'!$C$4:$ND$160="SK")+
    ('Cal'!$C$4:$ND$160="TR")+
    (('Cal'!$C$4:$ND$160="HVC")/2)+
    (('Cal'!$C$4:$ND$160="HSK")/2)+
    (('Cal'!$C$4:$ND$160="HTR")/2))*
    ('Cal'!$D$3:$ND$3>=$E$4)*
    ('Cal'!$D$3:$ND$3<=$F$4))

    The vacation days are entered by the employees in sheet Cal and the formula is in sheet Summary. Both sheets are part of the same workbook.

    This formula runs for number of employees * months in the year and has slowed down my excel sheet considerably.
    Can you please suggest how can I optimize it?
    P.S. I cannot use SUMIFS as the values I am counting - VC, SK, etc. are non-numeric
    Last edited by nehabansal82; 06-27-2018 at 03:29 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Slow time deleting filtered rows. Optimization help (sumproduct).
    By Pojzon in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-20-2018, 07:41 AM
  2. Sumproduct change for optimization. Sumif perhaps?
    By Pojzon in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-25-2017, 09:29 AM
  3. [SOLVED] SUMPRODUCT formula optimization for multiple criteria addition
    By Strazdas in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-08-2015, 03:01 AM
  4. [SOLVED] sumproduct optimization
    By miller_ilya in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-18-2013, 09:23 AM
  5. Sumproduct formula optimization
    By sinspawn56 in forum Excel General
    Replies: 4
    Last Post: 11-06-2012, 02:23 PM
  6. I need of optimization -Please help!
    By Mm73 in forum Excel General
    Replies: 1
    Last Post: 08-25-2008, 02:18 PM
  7. optimization
    By kckar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2005, 01: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