Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Distinct Count of only filled in values

Status
Not open for further replies.

linar

Programmer
Mar 28, 2002
5
BE
Hello,

I want to perform a distinct count of a
formula that can return a number, but it can't also return empty or zero. The problem is that I don't want to include the empty values in my distinct count.

Example:
my formula returns :
600601
600602
600603
null
null

My Distinct Count on this formula returns 4.
But I want it to be 3 ! :) I know about the IsNull function, but I haven't succeeded yet to use it in a correct way.

Ideas ?

Thanks
Lina

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top