Hi guys, I have a table of data in excel, that I'm merging into a pivot table.
One of the fields is called "Transaction Type", which is coded in each cell as either "Debit" or "Credit", with no null values.
One of the fields I want to calculate in my report is the (debit - credit). I know how to do cross field calculations, but I was wondering if its possible to do this type of calculation within a field based on this criteria without changing the source data?
For instance, a work around would be putting a negative (-) infront of all the values in the rows coded as "credit" and just using the regular subtotal feature.
But that would be changing the data. I'm also trying to accomplish this without using a crutch column.
I'm working with excel 2003.
One of the fields is called "Transaction Type", which is coded in each cell as either "Debit" or "Credit", with no null values.
One of the fields I want to calculate in my report is the (debit - credit). I know how to do cross field calculations, but I was wondering if its possible to do this type of calculation within a field based on this criteria without changing the source data?
For instance, a work around would be putting a negative (-) infront of all the values in the rows coded as "credit" and just using the regular subtotal feature.
But that would be changing the data. I'm also trying to accomplish this without using a crutch column.
I'm working with excel 2003.