Hi NarayanK991/Hui,
I tried again for same problem and found another workaround which is very easy to understand for everybody.
As I mentioned in my first post "If we have some numbers Lets say 1,2,2,4,4,4,2,2,1,2 in a range eg. A1:A10. I need count of unique numbers". I wrote an array formula =Sum(if(A1:A10=A2:A11,0,1)) in B1 and it's giving correct output for both Numbers and text. The only condition is that data column must be sorted
I just wanted to share it with everybody.
Thank you once again for your help.
DJ