Johnny Thunder
Well-known Member
- Joined
- Apr 9, 2010
- Messages
- 693
- Office Version
- 2016
- Platform
- MacOS
Hello All,
I am running into a weird situation that sounded easy at first but as I look into the results they are all over the place. Any help is appreciated.
My issue:
1. I have a Journal Entry tool that converts a range of values from a raw report from their original state to ABS Values.
2. I then have a dashboard Sheet that takes the Journal Entry total and provides it to the user, I then have another cell that shows the report Total.
3. The problem that I am having is that currently my Journal is 1,932,345 but the original report total is only 102,629. The reason for the discrepancy is that the Original report has negative values that are being converted to Positive numbers on the Journal Entry.
So to compensate for the variation in total between the Original Report total and what the Journal Entry shows I tried doing a SumProduct formula on the Original Report with an ABS added to hopefully get the same result but I am seeing that if a SUMPRODUCT is used the formula is aggregating a total first, then converting it to ABS as opposed to taking each line and converting it before summarizing.
Here is my formula: =SUMPRODUCT((CompCode=E16)*AmtData) - Result is 102,629
Here is my formula with ABS =SUMPRODUCT(ABS((CompCode=E16)*AmtData)) - Result 4,375,863
If I manually get all the rows from the raw report and convert each to ABS then sum - I get the Journal Entry Amount that I am after 1,932,345.
I am running into a weird situation that sounded easy at first but as I look into the results they are all over the place. Any help is appreciated.
My issue:
1. I have a Journal Entry tool that converts a range of values from a raw report from their original state to ABS Values.
2. I then have a dashboard Sheet that takes the Journal Entry total and provides it to the user, I then have another cell that shows the report Total.
3. The problem that I am having is that currently my Journal is 1,932,345 but the original report total is only 102,629. The reason for the discrepancy is that the Original report has negative values that are being converted to Positive numbers on the Journal Entry.
So to compensate for the variation in total between the Original Report total and what the Journal Entry shows I tried doing a SumProduct formula on the Original Report with an ABS added to hopefully get the same result but I am seeing that if a SUMPRODUCT is used the formula is aggregating a total first, then converting it to ABS as opposed to taking each line and converting it before summarizing.
Here is my formula: =SUMPRODUCT((CompCode=E16)*AmtData) - Result is 102,629
Here is my formula with ABS =SUMPRODUCT(ABS((CompCode=E16)*AmtData)) - Result 4,375,863
If I manually get all the rows from the raw report and convert each to ABS then sum - I get the Journal Entry Amount that I am after 1,932,345.