Excel Q

I’ve built a heatmap the pulls in values from a pivot tabl(GETPIVOTDATA=…)and I need to have the cells that return “0” to show N/A but don’t know how. I though maybe I could use an if statement, but since I need the formula to return the value I don’t know how. any suggestions?

Would this type of IF statement work? I haven’t plugged it so I don’t know. =IF(GETPIVOTDATA=…=0,“N/A”,GETPIVOTDATA=…)

soddy1979- that worked perfect- thanks!

Btw, akanska did you find the Excel 2007 book useful, if at all you used it?

soddy1979 Wrote: ------------------------------------------------------- > Would this type of IF statement work? I haven’t > plugged it so I don’t know. > > =IF(GETPIVOTDATA=…=0,“N/A”,GETPIVOTDATA=…) if you want excel to recognize it as an error later you can use the […], NA(), […] instead of the “N/A”

I think we should have a sticky Excel Q&A discussion going.