Pivot to Show Difference between two Columns

jarett

Board Regular
Joined
Apr 12, 2021
Messages
179
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
New to messing with Pivot tables and trying to play with it (and learn on my own) before going to consultant. Outline of chart I want to display, spreadsheet shows all possible lines, so I want to be able to show total amount of lines on one axis. We then have a column E "QuantityBackordered", if this column has a value > 0 I want to show these lines/rows (total) on another axis. Example attached would show 4 total possible lines with 2 lines containing BOQTY's. The main calculation I am trying to display is my order fill rate, which in this example would be 50% 2 lines have 0 backordered out of 4. Could I display the 50% in the same pivot chart? Thinking just a regular line chart ?

Book1
ABCDEFG
1ItemCodeItemCodeDescWarehouseCodeQuantityOrderedQuantityBackorderedUDF_QTY_PULLEDUDF_INVENTORIED_ITEM
21332L1332L TIG WELDING GLOVE CUT RE00048480Y
31332L1332L TIG WELDING GLOVE CUT RE00084084Y
410019063-GRAY-XLRMNS FR SLD VENT LS WRK SHRT SI000505Y
5CDKW038-NAVYBLUE20 oz. Viking Nova Tumbler00048480Y
Order_Fill_Rate
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Was able to solve my problem with a formula and display in a chart.
Order_Line_Fill_Rate.xlsx
HIJ
1Total LinesBO LinesLine Fill %
2149833378%
Order_Fill_Rate
Cell Formulas
RangeFormula
H2H2=COUNTA(A:A)
I2I2=COUNTIF(E:E,"> 0")
J2J2=ABS((I2-H2)/H2)
Named Ranges
NameRefers ToCells
ExternalData_1=Order_Fill_Rate!$A$1:$G$1498H2

1690986500958.png
 
Upvote 0
Solution

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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