Ok, I have a courier time tracking sheet that i used to evaluate courier times. One of the features is to compare the inputed time against a benchmark time. To do this I have a range of travel segments and their benchmark times.
I have formatted these "travel segments" as follows.
City1 <-> City2
The "<->" signafies either to or from.
So, what I want is conditional formatting that lets me know if a travel segment has already been entered for the two cities, even if transposed as "City2 <-> City1"
The formula I have worked out is:
=OR(MATCH(A2,A:A,0)<> ROW(A2), ISNUMBER(MATCH(RIGHT(A2,LEN(A2)-FIND(" <-> ",A2)-4) & " <-> " & LEFT(A2,FIND(" <-> ",A2)-1),INDIRECT("A1:A" & ROW(A2)-1),0)))
This works just fine when I have this formula in a cell, but when I enter it as a conditional format, it doesn't work.
Attached is an example workbook.
Bookmarks