Auto Copy And Past

Seifeddine87

Board Regular
Joined
Sep 7, 2015
Messages
128
Office Version
  1. 2016
  2. 2011
  3. 2010
Hi just looking for how to make an auto copy and past
I have got all the data on my Stock sheet and when I go to sell sheets (from Jan to Dec) and put the item code in the sale sheet will copy Item Number Vehicles Category Parts Potition from stock sheet and past it in same row of sale sheet
Example
Stock sheet


…… ..A…………………B…………………..…C……………….……D…………..…..E…………………F…………….G
1…..Date……....Item Code……..Item Number……. Vehicles…….Category………Parts………Potition
2...02/12/16……..G52K51………033365258…………Clio…………….Body…..........Door………..FDS..
3...03/12/16……..G52M05………038555233…………Corsa………..Lights…........Headlight…..RDS..
4...05/12/16……..G52H52………033385214…………Clio…………….Body…..........Door………..FPS..
5 .

Sale Sheets (From Jan to Dec)
…… ..A…………………B…………………..…C……………….……D…………..…..E…………………F…………….G
1…..Date……....Item Code……..Item Number……. Vehicles…….Category………Parts………Potition
2...23/12/16……..G52M05………038555233…………Corsa………..Lights…........Headlight…..RDS..
3...28/12/16……..G52H52………033385214…………Clio…………….Body…..........Door………..FPS..
4...25/12/16……..G52K51………033365258…………Clio…………….Body…..........Door………..FDS..
5 .
 
Last edited:

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
On the Sale sheet in cell C2 put the formula =VLOOKUP($B2,stock!$B$2:$G$4,COLUMNS($B2:C2),0) then copy across and down. Adjust cell references as need.
 
Upvote 0
Is duplicate Item codes possible? The Vlookup formula will only return the first matching code that it finds.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,688
Members
448,978
Latest member
rrauni

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top