I have been trying to check the condition using VBA, but now I am struggling here is the explanation of what I am doing
if there's any 'uncheck' on condition(A) column
then, The objective is comparison between data2 and data4 (which is the data of that itself uncheck condition) with data2 and data4 in another workbook (photo2) (not another worksheet)
To compare it to another workbook (photo2), I need to compare whether the value in data2(C) column in (photo1) exists in data 2 in another workbook (photo2) if not we conclude that not pass as a final result in F column
for example, as you can see A5 & A7 in photo2 pass 1st rule because they have the same value as C5 & C7
here is the difficult part, when it pass 3.) rule, then I need to compare data4(E) column in (photo1) to data4 in another workbook (photo2) But the rule is the value does not need to be exactly the same. however if the data4 value in another workbook (photo2) isn't more/less than 50 compare to the value in data4 in photo1 then we conclude that pass as a final result
for example, as you can see from 3.) A5 & A7 pass rule but in 4.) only A5 with 220 pass because the difference is 20 compare to 200 which in range 150-250 (200+-50)
photo1
photo2
Is there any formula/vlookup/vba or whatever to run it?



