Zum Beispiel habe ich Zelle A1, die "4, 0, 0, 0, 4" hat und ich möchte wissen, ob ich eine Formel in B eingeben kann, um nur "4" auszuspucken.Gibt es eine Formel, um eine Zelle aller doppelten Werte und Nullen zu trimmen?
+==================================================+===================================+
| Col A - Source | Col B - Result on referencing Col A
+==================================================+===================================+
| 4, 0, 0, 0, 4 | 4 |
+--------------------------------------------------+-----------------------------------+
| 268, 0, 0, 0, 268 | 268 |
+--------------------------------------------------+-----------------------------------+
| 282, 283, 0, 0, 0, 0 | 282, 283 |
+--------------------------------------------------+-----------------------------------+
| 0, 0, 0, 0, 0 | |
+--------------------------------------------------+-----------------------------------+
| 0, 0, 4324, 4325, 4326, 0, 4324 | 4324, 4325, 4326 |
+--------------------------------------------------+-----------------------------------+
| 450, 1307, 1308, 1309, 1310, 1321, 0, 0, 0, 1309 | 450, 1307, 1308, 1309, 1310, 1321 |
+--------------------------------------------------+-----------------------------------+
http://stackoverflow.com/questions/3017852/vba-get-unique-values-from-array – findwindow
Loswerden der 0 ist einfach mit Ersatz, das Problem ist das Entfernen der Duplikate. Es wird VBA nehmen. –