How do you match one column's numbers with the 2nd column?

  • Thread starter Thread starter lnsykalski
  • Start date Start date
L

lnsykalski

How do you math one column's numbers with the 2nd column?

Like if you had:

1 2
2 3
3 6
4
5
6
7

... and you wanted it sorted like so
2 2
3 3
6 6
1
4
5
7

Any idea how to do that?

Thanks,
Lee:confused
 
Assuming your data are in columns A and B

insert a staging column before column B, with following formula:
=IF(ISNA(MATCH(A1,C:C,0)),"",MATCH(A1,C:C,0))

Select columns A:B
Data>Sort by Column B (ascending)

HTH
 

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