简体   繁体   中英

highlight all duplicates rows in excel

i put all the value from A,B,E,F,G,I columns to a new columns Q. Can i use this formula on this column? =MIN(LINE(Q5) (IF(Q7=Q6;1;0))) its not working NOTE My data start from row 5 –

What the function 'line' does? Within MIN function, you need to pass a list of values; if Line returns a value and the IF statement returns another, there must be a comma between them.

=MIN(LINE(Q5),(IF(Q7=Q6;1;0)))

Edit:

HERE there's a good example of how to highlight duplicated entries. Basically, it will:

  • Concatenate the whole line into one single cell (I believe you'll have A1+B1+D1+E1+F1+G1)
  • Use a CountIf function to check which ones are duplicated
  • Apply a special format into the rows where the CountIf returns > 1.

Hope this helps!

Rgds

Seems like you asked the question twice : excel 2007 duplicate row ?

Btw, Tiago solution is simplier (so better) than mine for just highlighting row. My solution can return the line where the duplicate exists...

For highlighting and using COnditional Formatting, the countif is better and could be used directly in the Conditional Formating formula (no need to create another column).

Regards,

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM