• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Apply Count function for a particular number repeated more than once.

VDS

Member
Dear Sir,

I have prepared the list of numbers as per attachment in which the numbers are repeated

Column A gives the List of so many GRN Numbers, In Column B, I applied if <> for separation and Count to get the total no of GRN.

Here what I want the result 7 should be displayed in Column A with a single Formula without column B. (i.e If and Count can be clubbed). How it can done. Help is requested.

VDS
 

Attachments

Dear Sir,

I have prepared the list of numbers as per attachment in which the numbers are repeated

Column A gives the List of so many GRN Numbers, In Column B, I applied if <> for separation and Count to get the total no of GRN.

Here what I want the result 7 should be displayed in Column A with a single Formula without column B. (i.e If and Count can be clubbed). How it can done. Help is requested.

VDS
Hi,

A bit longer but will not throw an error with blanks.

=SUMPRODUCT((A2:A21<>"")/COUNTIF(A2:A21,A2:A21&""))
 
Back
Top