Pivot Table - calculated field question

SeanDamnit

Board Regular
Joined
Mar 13, 2011
Messages
151
Hello,

I have data that looks like this:

Excel Workbook
ABCDEF
1Invoiced ByDescriptionTracking #DistrictNameSALE/REFUNDSALE MONTH
2Newbury Plaza-Service CenterSAMSUNG EPIC 4G268435460202375837Albany1Jun-11
3Berkshire Mall-Service CenterHTC EVO 4G BLACK270113179914734266Albany1Jun-11
4Crossgates Mall 2-Service CenterSAMSUNG RECLAIM M560 GREY268435459500375412Albany0Jun-11
5Crossgates Mall 1-Service CenterHTC EVO SHIFT 4G270113179913796650Albany1Jun-11
6Aviation MallLG OPTIMUS S (LS670) PURPLE270113180104018434Albany1Jun-11
7Aviation MallSAMSUNG RECLAIM M560 GREY268435459500318356Albany1Jun-11
8Crossgates Mall 1-Service CenterLG OPTIMUS S (LS670) GREY270113180103950183Albany0Jun-11
9Crossgates Mall 2-Service CenterSAMSUNG EPIC 4G268435460202420092Albany1Jun-11
10Berkshire Mall-Service CenterVIRGIN MOBILE KYOCERA LOFT Paylo268435457814288275Albany1Jun-11
11Crossgates Mall 1-Service CenterBLACKBERRY STYLE ( 9670) PURPLE268435459709931592Albany1Jun-11
12Rotterdam SquareLG OPTIMUS S (LS670) GREY270113180103903301Albany1Jun-11
13Crossgates Mall 2-Service CenterSAMSUNG EPIC 4G268435460202419988Albany0Jun-11
14Eastfield Mall 1NEXUS S 4G GOOGLE268435460202709228CT1Jun-11
15Brass Mill Center 1LG RUMOR TOUCH (LN510) BLUE268435460015415772CT0Jun-11
16Eastfield Mall 1BLACKBERRY STYLE ( 9670) GREY268435459710081551CT0Jun-11
17Trumbull MallLG OPTIMUS S (LS670) GREY270113180103938281CT1Jun-11
18Eastfield Mall 1LG OPTIMUS S (LS670) GREY270113180103904257CT1Jun-11
19Brass Mill Center 1LG OPTIMUS S (LS670) GREY270113180103948756CT1Jun-11
20Brass Mill Center 1LG OPTIMUS S (LS670) PURPLE21202216161721252323221923CT1Jun-11
21Eastfield Mall 1HTC EVO 4G BLACK270113179914745799CT0Jun-11
22Eastfield Mall 1BLACKBERRY STYLE ( 9670) PURPLE268435459709931358CT1Jun-11
23Eastfield Mall 1NEXUS S 4G GOOGLE268435460202666733CT1Jun-11
24Montgomery MallBLACKBERRY STYLE ( 9670) GREY268435459710146203DC1Aug-11
25PG PlazaBLACKBERRY STYLE ( 9670) GREY268435459710146046DC0Aug-11
26PG PlazaSAMSUNG M360268435460112027388DC1Aug-11
27Montgomery MallLG OPTIMUS S (LS670) GREY270113180103948937DC1Aug-11
Sheet3




This is a sales report. The SALE/REFUND column will show 1 if this serial# was sold and has yet to be returned, and 0 shows that it was returned.

I'm trying to create an analysis to see a return ratio by Description, Store (invoiced by), District, and Sale Month. I use a pivot table and it looks like this:

o9eq9k.jpg

(note that I renamed the "0" and "1" columns to "Refund" and "Sale"

Now to my actual question: I want to add another column to the right for RETURN RATIO, which should simply be REFUND divided by SALE, or SUM of SALE/REFUND column divided by COUNT of SALE/REFUND column. My assumption is that a calculated field would do this for me, but since the data is coming from the same field, I don't know how to actually do this...

I'm thinking that I'm just missing something simple here. Pivot tables are still relatively new to me.

Any help you can provide is much appreciated
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,224,586
Messages
6,179,730
Members
452,939
Latest member
WCrawford

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