Improve Formula speed/efficiency

S

sbitaxi

Hello,

I'm working on trying to get a formula working faster and more
efficiently. Right now any change causes the workbook to lag heavily.

The source data is made up of
40561 records, each record is made up of 23 columns of information

The following formula examines the source and extracts the amount of
time each person (staff) spend on a particular initiative, excluding
events that were cancelled.

=SUMPRODUCT(--(Staff=$B12),--(Initiative=D$1),(Duration))-
(SUMPRODUCT(--(Staff=$B12),--(Initiative=D$1),--(Status="canceled"),
(Duration)))

Is there any way that this can be reworked to decrease the processing
time? An alternative formula to evaluate multiple criteria?


Your assistance is greatly appreciated.
 
J

JE McGimpsey

One way:

=SUMPRODUCT(--(Staff=$B12),--(Initiative=D$1),--(Status<>"canceled"),
(Duration)))
 
S

sbitaxi

Excellent, that looks great! I couldn't figure out how to condense it.

Thank you!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top