I'm putting together a crosstab report using an array formula, the formula is as follows
{=SUM(IF($A3&D$2&CC_Choice=HYP&date&CC,Amount))}
This basically produces a cost centre report for the Cost Centre Choice by account code by month.
I now wish to add an extra field of selection, by Business Unit, if a BU is selected a cost centre would not be selected so the CC-Choice field will be blank, and vice versa.
Is it possible to put an If statement into the above formula to determine if the report is by CC or BU.
My best attempt involves having a IF statement that checks if the field is populated and then runs the cc formula or bu formula,on the true false conditions.
thanks for your assistance.
{=SUM(IF($A3&D$2&CC_Choice=HYP&date&CC,Amount))}
This basically produces a cost centre report for the Cost Centre Choice by account code by month.
I now wish to add an extra field of selection, by Business Unit, if a BU is selected a cost centre would not be selected so the CC-Choice field will be blank, and vice versa.
Is it possible to put an If statement into the above formula to determine if the report is by CC or BU.
My best attempt involves having a IF statement that checks if the field is populated and then runs the cc formula or bu formula,on the true false conditions.
thanks for your assistance.