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

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

denzo36

Board Regular
Joined
Sep 22, 2019
Messages
149
Office Version
  1. 365
Platform
  1. Windows
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
 

yky

Well-known Member
Joined
Jun 7, 2011
Messages
1,872
Office Version
  1. 2010
Platform
  1. Windows
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?
 

denzo36

Board Regular
Joined
Sep 22, 2019
Messages
149
Office Version
  1. 365
Platform
  1. Windows
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?
 

Watch MrExcel Video

Forum statistics

Threads
1,130,170
Messages
5,640,566
Members
417,151
Latest member
ChickenTenderer

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
Top