Sumif Logical Formula PowerPivot

jenneki

New Member
Joined
Oct 16, 2013
Messages
1
Please help,

Say I have the following rows of data:

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Year
[/TD]
[TD]Week[/TD]
[TD]Sales[/TD]
[TD]Prior Week[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2011[/TD]
[TD]1[/TD]
[TD]10[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2011[/TD]
[TD]2[/TD]
[TD]15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]2011[/TD]
[TD]3[/TD]
[TD]20[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]2012[/TD]
[TD]1[/TD]
[TD]5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]2012[/TD]
[TD]2[/TD]
[TD]25[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]



In my "Prior Week" Column I'd like to create a simple formula which in excel would have read SUMIF(A2:A6,B3-1,C2:C6). For the life of me, I can't figure out how to do it in Powerpivot. I've tried all iterations of Calculate, Filter and All I've found on the internet, but nothing works.

Any assistance would be greatly appreciated.

Thanks.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,223,959
Messages
6,175,645
Members
452,663
Latest member
MEMEH

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