I have four columns in a sheet on Excel (the name of columns are A, Probability of A, B and Probability of B).

For example, there are 32000 values (rows) in the columns of A and Probability of A. Also, 165000 values (rows) have been assigned to the columns of B and Probability of B. In addition, there are 32000 common values in columns of A and B, but it aren’t in a same row.

I’d like to have four columns with 32000 rows. Although, these 32000 rows should be had equal values in the A and B columns with the reference column of A. then, I need to the values of Probability A and Probability B when the value of A and B are equal. Also, the order of values in column A and B are different. The attached file can be useful for understanding my problems.

 Can everyone help me to get a formula for solving my problem in Excel? Any solution would be welcome.

 Wish you all the best

Mohsen

Similar questions and discussions