ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   matching columns (https://www.excelbanter.com/excel-worksheet-functions/166534-matching-columns.html)

Peter[_7_]

matching columns
 
I want to know if there is a formula I can use that would match up the
same names from the 2 columns and put it in the same row with their
results (i don't know if i'm explaining this correctly), instead of
doing it manually. See below:
Thanks!

A B C D
Charles 1 Peter 4
Peter 2 Xavier 3
Allison 3 Kim 7
Xavier 5 Nancy 6
Nancy 6 Edward 8
Edward 7 Pedro 9
Susan 8 Carlos 9
Kim 9


This is what I want it to look like:

A B C D
Charles 1
Peter 2 Peter 4
Allison 3
Xavier 5 Xavier 3
Nancy 6 Nancy 6
Edward 7 Edward 8
Susan 8
Kim 9 Kim 7
Carlos 9
Pedro 9


time convertions

matching columns
 


"Peter" wrote:

I want to know if there is a formula I can use that would match up the
same names from the 2 columns and put it in the same row with their
results (i don't know if i'm explaining this correctly), instead of
doing it manually. See below:
Thanks!

A B C D
Charles 1 Peter 4
Peter 2 Xavier 3
Allison 3 Kim 7
Xavier 5 Nancy 6
Nancy 6 Edward 8
Edward 7 Pedro 9
Susan 8 Carlos 9
Kim 9


This is what I want it to look like:

A B C D
Charles 1
Peter 2 Peter 4
Allison 3
Xavier 5 Xavier 3
Nancy 6 Nancy 6
Edward 7 Edward 8
Susan 8
Kim 9 Kim 7
Carlos 9
Pedro 9

In column c you can use the formula "vlookup(A1,$A$1:$A$8,1,0) now you will
get the name in column c just drag it till the last row of names. then filter
the not applicables and copy paste the names in column A manually to colunn c.



All times are GMT +1. The time now is 02:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com