Help with pivot table

bakerwe3

New Member
Joined
Mar 21, 2016
Messages
25
Hi

I have pivot table with 2 years of cost data for services and I have taken average cost as a sum. The issue I have is some of my data has N/A e.g

cars2019/20£5000
cars2018/19N/A
So when I pivot the above instead of excel taking 5000 it takes the average of two years which is £2500 Is there way I can get pivot to work and ignore N/A?
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Not sure what you are trying to do - are you using your pivot to sum up the total for 2 years?

Your pivot won't work as you have text and numbers in your cost column - change the N/A to 0 and it will work as normal
 
Upvote 0
Not sure what you are trying to do - are you using your pivot to sum up the total for 2 years?

Your pivot won't work as you have text and numbers in your cost column - change the N/A to 0 and it will work as normal
Wouldn't that still give an average of 2500, which the OP is trying to avoid?
 
Upvote 0
Still not sure of his/her intention really - if you want to sum or average in a pivot he'd need to remove the N/As no? And isn't the average of the 2 years not 2500?
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,138
Members
453,021
Latest member
Justyna P

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