Hello,
I'm looking for help on a formula (array?) that will return a boolean value (in column I) where --The values in each row of E,F,G are compared individually to each row of A,B,C by subtracting each cell, and them summing the absolute value. Then, comparing the result to a range of numbers located in J1-J5.
For instance When E1-G1 is compared to A1-C9
47=SUM(ABS(SUM(E$1-A1))+ABS(SUM(F$1-B1))+ABS(SUM(G$1-C1)))
1=SUM(ABS(SUM(E$1-A2))+ABS(SUM(F$1-B2))+ABS(SUM(G$1-C2)))
62=SUM(ABS(SUM(E$1-A3))+ABS(SUM(F$1-B3))+ABS(SUM(G$1-C3)))
52=SUM(ABS(SUM(E$1-A4))+ABS(SUM(F$1-B4))+ABS(SUM(G$1-C4)))
64=SUM(ABS(SUM(E$1-A5))+ABS(SUM(F$1-B5))+ABS(SUM(G$1-C5)))
48=SUM(ABS(SUM(E$1-A6))+ABS(SUM(F$1-B6))+ABS(SUM(G$1-C6)))
57=SUM(ABS(SUM(E$1-A7))+ABS(SUM(F$1-B7))+ABS(SUM(G$1-C7)))
65=SUM(ABS(SUM(E$1-A8))+ABS(SUM(F$1-B8))+ABS(SUM(G$1-C8)))
70=SUM(ABS(SUM(E$1-A9))+ABS(SUM(F$1-B9))+ABS(SUM(G$1-C9)))
This would return TRUE because 47 and 1 reside in J1-J5.
E3-G3 returns false because the absolute sum does not match any in J1-J5.
Sorry if this isn't very clear. I don't know if this is something that can be accomplished in a one, or two part formula instead of code.
Columns A,B,C are actually over 1000 rows, and E,F,G are 100 rows.
Thanks!
I'm looking for help on a formula (array?) that will return a boolean value (in column I) where --The values in each row of E,F,G are compared individually to each row of A,B,C by subtracting each cell, and them summing the absolute value. Then, comparing the result to a range of numbers located in J1-J5.
For instance When E1-G1 is compared to A1-C9
47=SUM(ABS(SUM(E$1-A1))+ABS(SUM(F$1-B1))+ABS(SUM(G$1-C1)))
1=SUM(ABS(SUM(E$1-A2))+ABS(SUM(F$1-B2))+ABS(SUM(G$1-C2)))
62=SUM(ABS(SUM(E$1-A3))+ABS(SUM(F$1-B3))+ABS(SUM(G$1-C3)))
52=SUM(ABS(SUM(E$1-A4))+ABS(SUM(F$1-B4))+ABS(SUM(G$1-C4)))
64=SUM(ABS(SUM(E$1-A5))+ABS(SUM(F$1-B5))+ABS(SUM(G$1-C5)))
48=SUM(ABS(SUM(E$1-A6))+ABS(SUM(F$1-B6))+ABS(SUM(G$1-C6)))
57=SUM(ABS(SUM(E$1-A7))+ABS(SUM(F$1-B7))+ABS(SUM(G$1-C7)))
65=SUM(ABS(SUM(E$1-A8))+ABS(SUM(F$1-B8))+ABS(SUM(G$1-C8)))
70=SUM(ABS(SUM(E$1-A9))+ABS(SUM(F$1-B9))+ABS(SUM(G$1-C9)))
This would return TRUE because 47 and 1 reside in J1-J5.
E3-G3 returns false because the absolute sum does not match any in J1-J5.
Sorry if this isn't very clear. I don't know if this is something that can be accomplished in a one, or two part formula instead of code.
Columns A,B,C are actually over 1000 rows, and E,F,G are 100 rows.
Thanks!