Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Help with a calculated field in a PivotTable

$
0
0

Hi, I am trying to write a formula for a calculated field inside a Pivot Table.   I want to return the value 1 if the row value is equal to "New York", and zero otherwise.  My formula is

 

 =IF(ISNUMBER(FIND(City, "New York" ) ),1,0 ) 

 

However, the formula always returns zero.   Please see the attached screen shot.

 

Thanks, Ben.


Ben Howard [MVP] | web | blog | book | downloads | P2O


Viewing all articles
Browse latest Browse all 11829


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>