ZIp Code Format for Pivot table

cmajka

Board Regular
Joined
Mar 18, 2013
Messages
175
Hi All -

The data in a column in my worksheet is supposed to be zip codes (will be used in power map eventually). However, my formula is not calculating because it is not recognizing the format of the data in the column.

The source data column is formatted as 'Special - Zip Code'. I insert that into a pivot table to get distinct values only. From the pivot table i have copied and pasted into a table in the same workbook. From here I will upload it into the data model in Power Map. However, my formula in the table is not calculating correctly...here it is:

=(COUNTIFS(TWELVE!$A:$A,1,TWELVE!$C:$C,'DETAIL V2'!$AB$2,TWELVE!$S:$S,"A",TWELVE!$BF:$BF,[@ZIPCODE]))

I suspect it has to do with formatting of the zip code. Any suggestions?

Thank you!
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,195,964
Messages
6,012,592
Members
441,714
Latest member
mcgeesusana

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