Alligning two columns

  • Thread starter Thread starter NJ Office Man
  • Start date Start date
N

NJ Office Man

Hello,

I was wondering if there is a way or formula to allign two columns based on
equal fields. I have columns similar to below and want to align column 'b' to
its matching cases in column 'a'. I'm sure this is very simple but im kinda
new to excel, thanks for any help!

1 2
2 4
3 6
4 8
5 10
6
7
8
9
10
 
Assuming your lists are in columns A and B, put this formula in C1:

=IF(ISNA(MATCH(A1,B:B,0)),"",A1)

Then copy it down for as many items as you have in column A.

Hope this helps.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top