ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Countif Problem (https://www.excelbanter.com/excel-worksheet-functions/189100-countif-problem.html)

Safi.

Countif Problem
 
Hi,

Please give me help in formulating correct use of Countif Function.

The duplicated values are given the highest number when it is beging of the
sheet the last one is given the least number of the repetitions...like

My Data Countif shows

75821542 2
14582 3
12582 1
25265 1
14582 2
75821542 1
14582 1


What I want : I want : which one is first it should be returned no. in the
ascending order of their repitions.

My Data Countif shuld shows like this
75821542 1
14582 1
12582 1
25265 1
14582 2
75821542 2
14582 3

this make me the oldest to remain and the latest to be deleted when ever duplicated. hope it is clear.


Thanks,
Safi



Sandy Mann

Countif Problem
 
Try:

=COUNTIF($A$1:A1,A1)
and drag down on the fill handle

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Safi." wrote in message
...
Hi,

Please give me help in formulating correct use of Countif Function.

The duplicated values are given the highest number when it is beging of
the
sheet the last one is given the least number of the repetitions...like

My Data Countif shows

75821542 2
14582 3
12582 1
25265 1
14582 2
75821542 1
14582 1


What I want : I want : which one is first it should be returned no. in the
ascending order of their repitions.

My Data Countif shuld shows like this
75821542 1
14582 1
12582 1
25265 1
14582 2
75821542 2
14582 3

this make me the oldest to remain and the latest to be deleted when ever
duplicated. hope it is clear.


Thanks,
Safi







All times are GMT +1. The time now is 06:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com