Simple question for PP Pros - Calculated Column using two tables

Badrul

New Member
Joined
Sep 25, 2013
Messages
28
This should be simple yet whatever I try doesn't seem to work.

FactTable:[TABLE="width: 500"]
<tbody>[TR]
[TD]accountRowID[/TD]
[/TR]
[TR]
[TD]1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]


AccountRollup:[TABLE="width: 500"]
<tbody>[TR]
[TD]mapping[/TD]
[TD]accountRowID[/TD]
[TD]sign[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]1[/TD]
[TD]-1[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]2[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]1[/TD]
[TD]-1[/TD]
[/TR]
</tbody>[/TABLE]

What would be the formula for a calculated column in my fact table that returns the correct sign for my account.
I am ok with using a Max([Sign]) because the sign will remain for anything that has the same accountRowID (irrespective on the 'mapping').

Please help!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Actually I just realized my problem is harder than that.

I'll have to create an new post for it and will see if I can cancel this post.
 
Upvote 0

Forum statistics

Threads
1,223,964
Messages
6,175,659
Members
452,666
Latest member
AllexDee

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