dileepkmr3
New Member
- Joined
- May 2, 2017
- Messages
- 3
<code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; box-sizing: inherit; white-space: inherit;">Sheet1
ID First Last Street City State Zip
---------------------------------------------------
51 Alfred Obrien 636 Charla Lane Richardson TX 75081
52 Donald Lemmons 4956 Center Street Umatilla OR97882
53 Corrine McCann 3149 West Street Grand Rap MI 49546
54 Monique Gavin 4078 Maryland Largo FL 34640
55 Steven Murray 965 Tree Top Lane Lansdowne PA 19050
56 Kelley Robins 1191 Earnhardt Louisville KY 40223
Sheet2
ID Zip State Last City first Street Zip
-----------------------------------------
56
51
87
52
55
53
54
need to copy the data row wise depends on ID(unique) if ID matches copy and paste the row at the same time column header should match. if you observe column headers are same but position is different in sheet2.
i got vlookup formula but#N/A is getting whenever if ID doesn't match which is overwriting the data.. so i need VBA code
</code>
ID First Last Street City State Zip
---------------------------------------------------
51 Alfred Obrien 636 Charla Lane Richardson TX 75081
52 Donald Lemmons 4956 Center Street Umatilla OR97882
53 Corrine McCann 3149 West Street Grand Rap MI 49546
54 Monique Gavin 4078 Maryland Largo FL 34640
55 Steven Murray 965 Tree Top Lane Lansdowne PA 19050
56 Kelley Robins 1191 Earnhardt Louisville KY 40223
Sheet2
ID Zip State Last City first Street Zip
-----------------------------------------
56
51
87
52
55
53
54
need to copy the data row wise depends on ID(unique) if ID matches copy and paste the row at the same time column header should match. if you observe column headers are same but position is different in sheet2.
i got vlookup formula but#N/A is getting whenever if ID doesn't match which is overwriting the data.. so i need VBA code
</code>
Last edited by a moderator: