#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Formula Help

I need to see if there is an easier or shorter way to write this formula

=SUMPRODUCT((TERMS!$L$2:$L$18985="2110220821")*(TE RMS!$R$2:$R$18985="Resigned")*(TERMS!$S$2:$S$18985 ="4.
Better Job /
Pay")*(TERMS!$I$2:$I$18985={"JAN07","FEB07","MAR07 ","APR07","MAY07","JUN07","JUL07","AUG07","SEP07", "OCT07","NOV07","DEC07"}))+SUMPRODUCT((TERMS!$L$2: $L$18985="2110220820")*(TERMS!$R$2:$R$18985="Resig ned")*(TERMS!$S$2:$S$18985="4.
Better Job /
Pay")*(TERMS!$I$2:$I$18985={"JAN07","FEB07","MAR07 ","APR07","MAY07","JUN07","JUL07","AUG07","SEP07", "OCT07","NOV07","DEC07"}))+SUMPRODUCT((TERMS!$L$2: $L$18985="2110220819")*(TERMS!$R$2:$R$18985="Resig ned")*(TERMS!$S$2:$S$18985="4.
Better Job /
Pay")*(TERMS!$I$2:$I$18985={"JAN07","FEB07","MAR07 ","APR07","MAY07","JUN07","JUL07","AUG07","SEP07", "OCT07","NOV07","DEC07"}))
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Formula Help

Put all the variables in cells:

A1:A3 = 2110220819; 2110220820; 2110220821
Formatted as TEXT since you're expressing those as TEXT values in your
formula

B1 = Resigned

C1 = 4 Better Job / Pay

D1:D12 = JAN07; FEB07; MAR07; ..... DEC07

Then:

=SUMPRODUCT(--(ISNUMBER(MATCH(TERMS!$L$2:$L$18985,A1:A3,0))),
--(TERMS!$R$2:$R$18985=B1),--(TERMS!$S$2:$S$18985=C1),
--(ISNUMBER(MATCH(TERMS!$I$2:$I$18985,D1:D12,0))))

Biff

"Scott@CW" wrote in message
...
I need to see if there is an easier or shorter way to write this formula

=SUMPRODUCT((TERMS!$L$2:$L$18985="2110220821")*(TE RMS!$R$2:$R$18985="Resigned")*(TERMS!$S$2:$S$18985 ="4.
Better Job /
Pay")*(TERMS!$I$2:$I$18985={"JAN07","FEB07","MAR07 ","APR07","MAY07","JUN07","JUL07","AUG07","SEP07", "OCT07","NOV07","DEC07"}))+SUMPRODUCT((TERMS!$L$2: $L$18985="2110220820")*(TERMS!$R$2:$R$18985="Resig ned")*(TERMS!$S$2:$S$18985="4.
Better Job /
Pay")*(TERMS!$I$2:$I$18985={"JAN07","FEB07","MAR07 ","APR07","MAY07","JUN07","JUL07","AUG07","SEP07", "OCT07","NOV07","DEC07"}))+SUMPRODUCT((TERMS!$L$2: $L$18985="2110220819")*(TERMS!$R$2:$R$18985="Resig ned")*(TERMS!$S$2:$S$18985="4.
Better Job /
Pay")*(TERMS!$I$2:$I$18985={"JAN07","FEB07","MAR07 ","APR07","MAY07","JUN07","JUL07","AUG07","SEP07", "OCT07","NOV07","DEC07"}))



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Formula Help

I will give it a shot. Thank you.

"T. Valko" wrote:

Put all the variables in cells:

A1:A3 = 2110220819; 2110220820; 2110220821
Formatted as TEXT since you're expressing those as TEXT values in your
formula

B1 = Resigned

C1 = 4 Better Job / Pay

D1:D12 = JAN07; FEB07; MAR07; ..... DEC07

Then:

=SUMPRODUCT(--(ISNUMBER(MATCH(TERMS!$L$2:$L$18985,A1:A3,0))),
--(TERMS!$R$2:$R$18985=B1),--(TERMS!$S$2:$S$18985=C1),
--(ISNUMBER(MATCH(TERMS!$I$2:$I$18985,D1:D12,0))))

Biff

"Scott@CW" wrote in message
...
I need to see if there is an easier or shorter way to write this formula

=SUMPRODUCT((TERMS!$L$2:$L$18985="2110220821")*(TE RMS!$R$2:$R$18985="Resigned")*(TERMS!$S$2:$S$18985 ="4.
Better Job /
Pay")*(TERMS!$I$2:$I$18985={"JAN07","FEB07","MAR07 ","APR07","MAY07","JUN07","JUL07","AUG07","SEP07", "OCT07","NOV07","DEC07"}))+SUMPRODUCT((TERMS!$L$2: $L$18985="2110220820")*(TERMS!$R$2:$R$18985="Resig ned")*(TERMS!$S$2:$S$18985="4.
Better Job /
Pay")*(TERMS!$I$2:$I$18985={"JAN07","FEB07","MAR07 ","APR07","MAY07","JUN07","JUL07","AUG07","SEP07", "OCT07","NOV07","DEC07"}))+SUMPRODUCT((TERMS!$L$2: $L$18985="2110220819")*(TERMS!$R$2:$R$18985="Resig ned")*(TERMS!$S$2:$S$18985="4.
Better Job /
Pay")*(TERMS!$I$2:$I$18985={"JAN07","FEB07","MAR07 ","APR07","MAY07","JUN07","JUL07","AUG07","SEP07", "OCT07","NOV07","DEC07"}))




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Formula Help

You're welcome!

Biff

"Scott@CW" wrote in message
...
I will give it a shot. Thank you.

"T. Valko" wrote:

Put all the variables in cells:

A1:A3 = 2110220819; 2110220820; 2110220821
Formatted as TEXT since you're expressing those as TEXT values in your
formula

B1 = Resigned

C1 = 4 Better Job / Pay

D1:D12 = JAN07; FEB07; MAR07; ..... DEC07

Then:

=SUMPRODUCT(--(ISNUMBER(MATCH(TERMS!$L$2:$L$18985,A1:A3,0))),
--(TERMS!$R$2:$R$18985=B1),--(TERMS!$S$2:$S$18985=C1),
--(ISNUMBER(MATCH(TERMS!$I$2:$I$18985,D1:D12,0))))

Biff

"Scott@CW" wrote in message
...
I need to see if there is an easier or shorter way to write this formula

=SUMPRODUCT((TERMS!$L$2:$L$18985="2110220821")*(TE RMS!$R$2:$R$18985="Resigned")*(TERMS!$S$2:$S$18985 ="4.
Better Job /
Pay")*(TERMS!$I$2:$I$18985={"JAN07","FEB07","MAR07 ","APR07","MAY07","JUN07","JUL07","AUG07","SEP07", "OCT07","NOV07","DEC07"}))+SUMPRODUCT((TERMS!$L$2: $L$18985="2110220820")*(TERMS!$R$2:$R$18985="Resig ned")*(TERMS!$S$2:$S$18985="4.
Better Job /
Pay")*(TERMS!$I$2:$I$18985={"JAN07","FEB07","MAR07 ","APR07","MAY07","JUN07","JUL07","AUG07","SEP07", "OCT07","NOV07","DEC07"}))+SUMPRODUCT((TERMS!$L$2: $L$18985="2110220819")*(TERMS!$R$2:$R$18985="Resig ned")*(TERMS!$S$2:$S$18985="4.
Better Job /
Pay")*(TERMS!$I$2:$I$18985={"JAN07","FEB07","MAR07 ","APR07","MAY07","JUN07","JUL07","AUG07","SEP07", "OCT07","NOV07","DEC07"}))






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"