Ignore Duplicates and Create New List of Unique Values in Excel

Totero’s answer is correct. The link is also very helpful. Basically the formula you need is: B2=INDEX($A$2:$A$20, MATCH(0, COUNTIF($B$1:B1, $A$2:$A$20), 0)) Then press ctrl+shift+enter (or it will not work using a array formula). Two important things to keep in mind here: The complete list is in cells A2:A20, then this formula has to be pasted … Read more

Remove leading or trailing spaces in an entire column of data

Quite often the issue is a non-breaking space – CHAR(160) – especially from Web text sources -that CLEAN can’t remove, so I would go a step further than this and try a formula like this which replaces any non-breaking spaces with a standard one =TRIM(CLEAN(SUBSTITUTE(A1,CHAR(160),” “))) Ron de Bruin has an excellent post on tips … Read more

How can I perform a reverse string search in Excel without using VBA?

This one is tested and does work (based on Brad’s original post): =RIGHT(A1,LEN(A1)-FIND(“|”,SUBSTITUTE(A1,” “,”|”, LEN(A1)-LEN(SUBSTITUTE(A1,” “,””))))) If your original strings could contain a pipe “|” character, then replace both in the above with some other character that won’t appear in your source. (I suspect Brad’s original was broken because an unprintable character was removed in … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)