ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Checking if a value of a cell is duplicated more than 5 times in a column (https://www.excelbanter.com/excel-discussion-misc-queries/266105-checking-if-value-cell-duplicated-more-than-5-times-column.html)

johnmerlino

Checking if a value of a cell is duplicated more than 5 times in a column
 
Hey all,

Is there a formula I can use where if a value of a cell is repeated more than 5 times in a column, then remove all instances of five or more duplicates in that column. There could be multiple duplicates of 5 or more.

Thanks for any response.

wickedchew

Quote:

Originally Posted by johnmerlino (Post 959766)
Hey all,

Is there a formula I can use where if a value of a cell is repeated more than 5 times in a column, then remove all instances of five or more duplicates in that column. There could be multiple duplicates of 5 or more.

Thanks for any response.

If your list is in column A, then B1 should have:

=IF(COUNTIF(A:A,A1)=5,"More than 5","Less than 5")

Copy that formula all the way down, then do a FILTER of "Less than 5".


All times are GMT +1. The time now is 02:09 PM.

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