Add Column (with calculation) to Pivot Table

marshak

Board Regular
Joined
May 28, 2007
Messages
65
Hello once again. I need you assistance.

I have a Pivot Table,
column G is the Min Date
column H is the Max date

Job Funct NameMgr LevelMin of Eff Start DtMax of Eff Start Dt2
StoresNon-Exempt Non-Manager6/20/20211/9/2022
StoresNon-Exempt Non-Manager2/9/20202/9/2020
StoresNon-Exempt Non-Manager7/1/20185/12/2019
StoresNon-Exempt Non-Manager12/29/201912/29/2019
StoresManager3/16/20215/17/2021
StoresNon-Exempt Non-Manager7/1/20187/1/2018
StoresNon-Exempt Non-Manager10/26/202011/30/2020
StoresNon-Exempt Manager7/1/20187/1/2018
StoresNon-Exempt Manager10/28/201811/14/2020
StoresManager4/14/20193/14/2021
StoresNon-Exempt Manager4/26/20205/3/2020
StoresNon-Exempt Manager7/1/20183/22/2020
StoresNon-Exempt Manager2/9/20205/17/2020
StoresNon-Exempt Manager5/8/20225/8/2022
StoresNon-Exempt Manager7/1/20187/1/2018
StoresNon-Exempt Manager4/4/20213/28/2022
StoresNon-Exempt Manager7/1/20187/1/2018
Warehouse - OperationsNon-Exempt Non-Manager7/1/201812/19/2021
Warehouse - OperationsNon-Exempt Non-Manager12/19/20211/2/2022
Warehouse - OperationsSenior manager4/7/201912/19/2021
Warehouse - OperationsSenior manager12/19/202112/19/2021
Warehouse - OperationsSenior manager2/3/20193/10/2019
StoresNon-Exempt Manager7/1/20183/19/2022
StoresNon-Exempt Non-Manager7/1/20187/6/2018


I'd like to add a calculation in column I that will show me the # of weeks between the dates in column G and H.

Can I just add a column I with the following formula: =ROUND((H4-G4)/7,0) or can the pivot table do this automatically for me?

Please advise. Thanks!!
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

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