I am working on a calculation next to a pivot table. The first If statement Shows the 0.00% running off the sheet when pivot is collapsed and the second does give the calc of c12/$e12 if there is a value in C12. I was using the A column for the names in the pivot, so it would not run past the last line.
All I want is to input 0.00% if there is not a value in column C and if there is calculate C/E, without it running off the page when the pivot is collapsed.
=IF(AND(ISTEXT(A12),C12=""),"0.00%",(C12/$E12))
=IF(AND(ISTEXT(A12),C12=""), "0.00%","")
Any help wopld be appreciated!
Thanks.
Bookmarks