Array formulas - absolute values don't work?!

ricci

New Member
Joined
Sep 17, 2010
Messages
11
Hoping someone might be able to help me! I'm new to array formulas, I got the formula below working.

=SUM((Data!C2:C727='Training & PD Analysis'!A9)*(Data!B2:B727='Training & PD Analysis'!J5)*Data!E2:E727)

I want to copy the formula down 100 rows. As usual the ranges change as you move the formula down, but I want the ranges to stay the same - so I've tried using absolute values, and the calc doesn't work and I get zero

this is the formula that doesn't work:
=SUM((Data!$C$2:$C$727='Training & PD Analysis'!A9)*(Data!$B$2:$B$727='Training & PD Analysis'!$J$5)*Data!$E$2:$E$727)

Pulling my hair out with this, so i'd be very happy for any pointers! Thanks !!



<TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=64 x:str><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: white; WIDTH: 48pt; HEIGHT: 12.75pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" class=xl22 height=17 width=64 x:num></TD></TR></TBODY></TABLE>
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Welcome to the Board.

Your formula should work provided that you remembered to press Ctrl+Shift+Enter. Try this non-array formula:

=SUMPRODUCT(--(Data!$C$2:$C$727='Training & PD Analysis'!A9),--(Data!$B$2:$B$727='Training & PD Analysis'!$J$5),Data!$E$2:$E$727)

COPIED DOWN.
 
Upvote 0
hi there, No I want 'Training & PD Analysis'!A9 to change as the formula is dragged down, as it's refering to an employee number that changes in each row.
 
Upvote 0
Welcome to the Board.

Your formula should work provided that you remembered to press Ctrl+Shift+Enter. Try this non-array formula:

=SUMPRODUCT(--(Data!$C$2:$C$727='Training & PD Analysis'!A9),--(Data!$B$2:$B$727='Training & PD Analysis'!$J$5),Data!$E$2:$E$727)

COPIED DOWN.

Wicked that works a treat! I had tried SUMPRODUCT, but hasn't quite got it right.

Thanks ever so!
 
Upvote 0

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top