Pivot table (% different from previous pivot table (negative % when supposed to be positive)

Hirosaki88

New Member
Hi I'm having this issue whereby I'm trying to calculate the growth % between days in terms of revenue. But when I choose the option of pivot table (% different from previous day) I notice the formula is =(A2-A1) /A1. My issue is that when the A1 figure is positive the % growth shows is correct. But when the A1 figure is negative. The % shown is wrong.

For example A2 = $12096, A1= - 623. So based on the % different pivot formula it's =(12096--623)/-623 which shows a -2041% a 2041% decline. When it should be a 2041% increase.

My calculate item is greyed out and I'm not sure why.

Any help on how to show it correctly
 

Hirosaki88

New Member
Just to give a sample data


Row LabelsSum of TransactionSum of BetSum of WinSum of Margin4.5% of MarginOverall Margin %% Grw/Decl
Oct 1,052,052 $ 1,242,389.91 $ 1,178,059.05$64,327.43 $ 2,894.735.18%
05-Oct 24,713 $ 40,106.86 $ 37,509.42$2,597.45 $ 116.896.48%83%
06-Oct 28,999 $ 58,295.11 $ 56,686.81$1,608.31 $ 72.372.76%-38%
07-Oct 31,795 $ 61,148.46 $ 63,965.45-$2,816.99 $ -126.76-4.61%-275%
08-Oct 35,013 $ 51,892.83 $ 50,391.27$1,501.56 $ 67.572.89%-153%
09-Oct 134,836 $ 113,325.05 $ 100,732.86$12,592.18 $ 566.6511.11%739%
10-Oct 127,057 $ 164,524.59 $ 159,144.93$5,376.22 $ 241.933.27%-57%
11-Oct 131,928 $ 122,369.36 $ 114,323.31$8,046.04 $ 362.076.58%50%
12-Oct 106,302 $ 89,647.23 $ 90,270.24-$623.01 $ -28.04-0.69%-108%
13-Oct 165,891 $ 225,901.98 $ 213,805.42$12,096.56 $ 544.355.35%-2042%
14-Oct 171,200 $ 152,258.89 $ 139,849.14$12,409.75 $ 558.448.15%3%

<colgroup><col><col><col span="3"><col><col><col></colgroup><tbody>
</tbody>
 

Some videos you may like

This Week's Hot Topics

  • Importing multiple excel files into one spreadsheet
    Hi, I'm trying to import multiple excel files (with the same format into a single spreadsheet) so that each day's file is listed underneath the...
  • find many based on a certain criteria
    good evening, I hope someone can help me? I have a workbook sheet 2 contains lots of data.... I would like to be able to find anything on sheet...
  • How to copy multiple rows using If
    Hi all, I'm very new to VBA and have written this simple code to copy certain cells if a certain cell within that row contains any data. I need...
  • VBA If statement
    Dear All, I have two dates, where I'd like a message box to pop, if the dates are between this criteria. [CODE] sDate1 = #10/1/2019#...
  • Text Format
    I have a sheet for user to keyin the data. The format of the data can be 451 / 1903, 0012 / 9908 or 00287 / 0099. The number after the "/" is...
  • Syntax errors
    Good Morning, Trying to compile a workbook, I keep getting a few errors. Here are the first two: [code=rich]Syntax Error: Function...
Top