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

calculated columns : comparing a column with a text value.

$
0
0

Guys,

I am using pivot tables trying to create a calculated column on  "column1" which is text column in the excel sheet and below is the logic:
if column1 is equal to "Tier1" then return 1 or return 0

so i write this as

IF(Column1 = "Tier1",1,0)

for the life of me this always return a 0 and never a 1, even though the value of Column1 is Tier1 with no spaces and same case.

does any one know what i might be doing wrong here.

thanks


Viewing all articles
Browse latest Browse all 11829

Trending Articles



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