Hi
I'm new to forum, and I have Finnish version of Excel, sorry for bad language/incorrect term.
In brief, what I'am doing:
I have hundreds of lines of CAN-BUS messages. They are in hexadesimal format, and four characters in middle defines Parameter Group Number)pgn). In example, sheet 1, column A I have hexadesimal adresses. In column B, I used POIMI.TEKSTI, I guess it's LEFT(?) to extract those four characters. In column C, Hex is transformed to decimal with HEKSADES (HEX2DES). In second sheet, (sorry, couldn't cut it just to make sure all numbers appear) I have J1939 Can-bus standard, where are listed which pgn:s belong to standard. It was in pdf format, so I had to do another LEFT to get five digits after pgnXXXXX.
First thing I have to do, is to find out if pgn in first sheet is in J1939 or not. I tried XLOOKUP (XHAKU).
in cell D3 I have =XLOOKUP(C3;'J1939'!B4:B199;'J1939'!C4:C199;"No")
I have pgn number in sheet1 Column C, so i'm trying if C3 can be found in J1939, pgn is in column B in 1939. I also added column C to 1939, filled with "Yes". So, if value of C3 is in J1939 column B, it would return value from J1939 column C, which is always "Yes", if not, it should return "No"
In all cases function returns "No", even though numbers can be found in J1939 column B.
What I dont understand, am I missing something?
All numbers in example sheet 1 are in J1939, looked them manually.
example.xlsx
Bookmarks