Thread: formula
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Udo Udo is offline
external usenet poster
 
Posts: 48
Default formula

Try to put the string NULL into "":
=iif(RepoOrder-RCCRepoOrder)= 0,"NULL", [RepoOrder]-[RCCRepoOrder]))


geebee schrieb:

hi,


I have a calculated field, for which I am trying to display a NULL if the
formula resuts in zero. The reason is because I have a graph displaying the
calculated field values, and I do not want anything displayed if the point is
zero. Here is my formula:

=iif(RepoOrder-RCCRepoOrder)= 0,NULL, [RepoOrder]-[RCCRepoOrder]))

I am not modifying this right. Before, it was:
RepoOrder-RCCRepoOrder

What do I need to do?

Thanks in advance,
geebee