Hi
I am using the following function:
=IF(COUNTIF(A:A,B2)>0,"B","A")
Now this function allows me to search column A for matches in column B.
column a column b column c column d column e column f column g
alpha =IF(COUNTIF(A:A,B2)>0,"B","A") value = A 1 13 0 0
bravo alpha =IF(COUNTIF(A:A,B3)>0,"B","A") value = B 2 5 1 13
charlie =IF(COUNTIF(A:A,B4)>0,"B","A") value = A 1 8 0 0
delta alpha =IF(COUNTIF(A:A,B5)>0,"B","A") value = B 5 15 0 0
I need to expand the above formula to compare the values in columns b, f & g with columns a, d & e and give a value of A, B or C in column C
so if take the bravo row, it wants to know if cell b3,f3 and g3 matches the information in a2, d2 and e2, if, it matches exactly c3 should equal C, if b3 and a2 match a value of B else a value of A
so in this case I would expect c2 = A, c3 = B, c4 = A, c5 = B
not sure this can be done but would appreciate any help
I am using the following function:
=IF(COUNTIF(A:A,B2)>0,"B","A")
Now this function allows me to search column A for matches in column B.
column a column b column c column d column e column f column g
alpha =IF(COUNTIF(A:A,B2)>0,"B","A") value = A 1 13 0 0
bravo alpha =IF(COUNTIF(A:A,B3)>0,"B","A") value = B 2 5 1 13
charlie =IF(COUNTIF(A:A,B4)>0,"B","A") value = A 1 8 0 0
delta alpha =IF(COUNTIF(A:A,B5)>0,"B","A") value = B 5 15 0 0
I need to expand the above formula to compare the values in columns b, f & g with columns a, d & e and give a value of A, B or C in column C
so if take the bravo row, it wants to know if cell b3,f3 and g3 matches the information in a2, d2 and e2, if, it matches exactly c3 should equal C, if b3 and a2 match a value of B else a value of A
so in this case I would expect c2 = A, c3 = B, c4 = A, c5 = B
not sure this can be done but would appreciate any help