Pivot to Show Monthly Average Days Between two Dates

jarett

Board Regular
Joined
Apr 12, 2021
Messages
179
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Trying to display a data set more efficiently/professional. To start off I have two date fields that I am getting the amount of days between those two dates, and I was going to have a running average field. However, I think a pivot table would be good for this, except my pivot table skills/comprehension are elementary at best. I would like to have the pivot be able to breakdown the average days between the two fields by month, then I think I could figure out how to expand on other metrics I want. The two fields I want to focus on right now are column C & D. Anyone has any good examples or tips on how to get this started.
AverageDaystoInvoice.xlsx
ABCDEFGHI
1InvoiceNoSalesOrderNoInvoiceDateOrderDateShipDateSalespersonNoBillToNameDateCreatedColumn1
2000060482421523/14/20233/7/20233/9/2023MEMEXCEL MODULAR SCAFFOLD3/14/20236
3000060582429173/14/20233/8/20233/10/2023MEMEXCEL MODULAR SCAFFOLD3/14/20235
4000062282421463/14/20233/7/20233/9/2023MEMEXCEL MODULAR SCAFFOLD3/14/20236
5000062382433993/14/20233/8/20233/13/2023MEMEXCEL MODULAR SCAFFOLD3/14/20235
6000066600004763/14/20233/13/20233/27/2023SVAWESTLAKE PIPE & FITTINGS3/14/20232
7000067000000953/14/20233/7/20233/14/2023NRLTHE RIVERFRONT RESTAURANT3/14/20236
8000067700000883/14/20233/7/20233/14/2023BJLCANNON COMPRESSION SERVICES3/14/20236
9000067800001603/14/20233/7/20233/14/2023MPLHYDRO CARBON FLOW SPECIALISTS3/14/20236
10000067900002433/14/20233/8/20233/13/2023JBQUALITY ENERGY SERVICE LLC3/14/20235
11000068400001913/14/20233/8/20233/14/2023ACTHILLER OFFSHORE SERVICES3/14/20235
12000068700002923/14/20233/9/20233/13/2023JBLJBI HELICOPTER SERVICES3/14/20234
AR_InvoiceHistoryHeader
Cell Formulas
RangeFormula
I2:I12I2=NETWORKDAYS([@OrderDate],[@InvoiceDate],1)
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
what month do you want to use for the grouping? The Order Date month or the Invoice Date Month?
 
Upvote 0
A little more googling lead me to some examples and I think I got the display in the pivot correct, or so it looks right. Curious if this is how you would have done it, @awoohaw.

AverageDaystoInvoice.xlsx
ABC
1InvoiceDate(Multiple Items)
2
3Row LabelsCount of OrderDateAverage of DaystoInvoice
4Mar379420.29
5Apr375815.92
6May453615.14
7Jun386413.11
8Jul435813.20
9Aug38639.05
10Sep5554.71
11Grand Total2472814.20
AvDaysInv
 
Upvote 0
You did not give other months data in your initial post. I would do something similar to what you have.
I'm pleased you researched more.

Best Wishes.
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,315
Members
452,634
Latest member
cpostell

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