HELP Needed urgently

Badrul

New Member
Joined
Sep 25, 2013
Messages
28
FactTable:

[TABLE="width: 500"]
<tbody>[TR]
[TD]accountName[/TD]
[TD]amount[/TD]
[/TR]
[TR]
[TD]AAA[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]BBB[/TD]
[TD]200[/TD]
[/TR]
</tbody>[/TABLE]

DimFSLineItem
[TABLE="width: 500"]
<tbody>[TR]
[TD]FSLineItem[/TD]
[TD]Level2[/TD]
[TD]Level3[/TD]
[TD]Sign[/TD]
[/TR]
[TR]
[TD]Net parent invesment[/TD]
[TD]SubCategory 1[/TD]
[TD]Category1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Other equity[/TD]
[TD]SubCategory 1[/TD]
[TD]Category1[/TD]
[TD]-1[/TD]
[/TR]
</tbody>[/TABLE]

DimRollup
[TABLE="width: 500"]
<tbody>[TR]
[TD]accountName[/TD]
[TD]FSLineItem[/TD]
[/TR]
[TR]
[TD]AAA[/TD]
[TD]Net parent investment[/TD]
[/TR]
[TR]
[TD]BBB[/TD]
[TD]Other equity[/TD]
[/TR]
</tbody>[/TABLE]


Question:

I currently use the rollup table to give me a hierarchicaly drill dow report which goes from Category1 down to Sub Category 1 and then the two accounts.
At all these level I want the subtotal to be a sum of account x the sign for the relevant account.

At the moment all my formulas are applying the same sign across everything (I was using the max function). So for Total Category 1 for example, the total shown is AAA amount * 1 + BBB Amount * 1

How am I supposed to handle this?
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,223,970
Messages
6,175,693
Members
452,667
Latest member
vanessavalentino83

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