Hi,
My pivot table produces data with some gaps in it and I'm having trouble working out how to handle these when creating a calculated field.
I've attached a screenshot of my pivot table (but I've had to save it as a monochrome bitmap to get under the maximum file size.)
Basically, there are values under "Attended" and "DNA", but some months, for some doctors, one or both of these values may not exist. And I need to calculate DNA/(Attended+DNA) to give a "DNA rate".
I've had three attempts at this as follows:
=IF(Attended<>"",DNA/(Attended+DNA),"") gives #DIV/0! if Attended is empty.
=IF(Attended>0,DNA/(Attended+DNA),"") gives #VALUE! if Attended is empty.
=IF(ISERROR(DNA/(Attended+DNA)),"",DNA /(Attended+DNA)) also gives #VALUE! if Attended is empty
Does anyone know how I can modify my formula so I don't get these error values? What I need is that if the Attended value is 0,blank,NULL,missing, or whatever, then the DNA rate should also show a blank cell.
HELP!
Bookmarks