Hello Forum, i am very new and i would like to get a Problem solved with your help... so lets go for it: (please note, english is not my native language,)
in every Cell in one given Line i either have the cell filled with the number 1 or the number 2. Example below
A B C D E F G H I J K L M N..... till 100 (CV)
4. 1 2 1 2 2 1 2 1 2 1 1 2 1 1..... till 100 (CV)
5. 2 1 2 1 2 2 2 1 1 1 2 2 1 2..... till 100 (CV)
now, i would like to give a command to filter line 4, from left to right, and find a pattern, that appears first! (in the filled Cells (1 or 2))
for example.: Excel, should now look in 4th line from "A" to "C V" and mark the pattern that appears first. For example mark it red. if the 2nd pattern appears first, mark the second pattern for example yellow. ( i will upload an xls. doc with a small example so to make things more clear.)
so i need a function that tells Excel... to look in line 4 --> From file "A" till file "C V" which pattern appears first, and mark it either red or yellow.
Patterns:
First Pattern Formation to search in line : 1 2 1 2
Seco. Pattern Formation to search in line: 2 2 2 2
the pattern that appears first should be marked, so that it is clear which appeared first.
HOPE you can help me
Kind regards branko
note: basically its not important how to mark it, it just should recognize which "searched" pattern appears first, in the looked line (from left to right), and give a sign which one it was, doesnt matter if it marks red or yellow, its important to find it.
Bookmarks