In the attached I have used numbers to illustrate what I want. in the first row I have 1 2 3 4 (A1~D1), starting in F1~I3 I have created a simple index, and at the end of those rows i have a corresponding number to indicate the value of each indexed row. What I want to do here is compare A1, A2, A3, A4 to F1:I3 index, if the numbers in A1~A4 macth exactly any row the value in M1:M3 should return in J1. This is waht I have tried.
=IF(AND(A1=F1,B1=G1,C1=H1,D1=I1),M1,"")&IF(AND(A1=F2,B1=G2,C1=H2,D1=I2),M2,"")&IF(AND(A1=F3,B1=G3,C1=H3,D1=I3),M3,"")
This works, but I have 100's of number configurations in my index and it becomes too cumbersome to create the formula and excel runs of formula availability before all is entered.
i would like to do this same function in VBA but with a 1000 row index referenced.
Can someone help me with this?
Thank you
Plrod
Bookmarks