Pivot Table - Having column data move to proceeding columns

steveg127

New Member
Joined
May 20, 2024
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hello, new to the site so apologies if this has been solved before.

I am creating a pivot table that is going to be used as a 'back in stock' report that is showing the quantity specific products will be available. I am looking to have this show all proceeding weeks with said inventory once it is back in stock.

Is this possible?

(sorry I am on a work computer that isn't allowing xl2bb to be installed)

1716232025080.png
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Can you provide a sample of the data used to generate this report?


Here you go -

SKU CodeInventory (units) - netavailableInventory (units) - backorderPO Units OpenCumulative PO UnitsNet BackorderedIs Backordered?First AvailIs Available?Expected Receipt Date
10007213401177-11TRUE-4FALSE7/27/2024
100072134011411-11TRUE0FALSE8/10/2024
1001095030333333-33TRUE0FALSE5/30/2024
1001095041273333-26TRUE7TRUE5/30/2024
10012797812904444129FALSE173TRUE6/23/2024
1001279781290182226129FALSE355TRUE8/19/2024
10012798010702222107FALSE129TRUE8/12/2024
1001279816360150150636FALSE786TRUE6/23/2024
1001279816360444594636FALSE1230TRUE8/12/2024
10012798316203636162FALSE198TRUE6/23/2024
100127983162086122162FALSE284TRUE8/19/2024
100127984700121270FALSE82TRUE8/19/2024
100127985081212-8TRUE4TRUE6/23/2024
100127985082436-8TRUE28TRUE8/12/2024
100127991750292975FALSE104TRUE6/19/2024
10012799487991FALSE10TRUE6/6/2024
100127994873121FALSE13TRUE8/20/2024
10012799526001010260FALSE270TRUE6/1/2024

The red text columns are calculated fields
Cumulative PO Units: =SUMIF(B$5:B5,B5,E$5:E5)
Net Backordered: =C5-D5
Is Backordered?: =G5<0
First Avail: =C5-D5+F5
Is available: =I5>0

Pivot Table Fields:
1716244941873.png
 
Upvote 0
Should SKU 100127985 read 28 or 32 for period 8/12/2024 - 8/18/2024?
 
Upvote 0
Why does the 8 backordered repeat? Looking at your data it would make more sense to have the first line resolve the 8 backordered.

I would have the pivot table show a running table, create a new column in your chart reading Net Stock Impact:
Excel Formula:
=+[@[Inventory (units) - netavailable]]-[@[Inventory (units) - backorder]]+[@[PO Units Open]]
, and then have backordered units resolved with FIFO.
 
Last edited:
Upvote 0
Hello, I am pretty novice with excel so if this is a viable option I will definitely use this moving forward.

If I use this formula on the data is there a method to then continue with the initial question to have the pivot table data populate in proceeding columns?
 
Upvote 0
Yes, but you will need to come up with new logic for your "IS BACKORDERED" column, due to the value of Inventory Units -Backorder is going to be 0 after the first shipment comes in.

Refresh your data after adding the column, and then drag Net Stock Impact to your values box in the PivotTable fields bar. Go to Value Field Settings > Show Values As tab > Running Total In
 
Upvote 0

Forum statistics

Threads
1,216,783
Messages
6,132,682
Members
449,747
Latest member
OldMrsMol

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