Data from one sheet to another

Dannybpool

New Member
Joined
Apr 3, 2023
Messages
3
Office Version
  1. 2007
Platform
  1. Windows
Hi all.

I have 2 spreadsheets.

Spreadsheet 1

Sku
OE part number
Blank (Cross reference number )

Spreadsheet 2

OE number
Cross reference number

What is best way to match the OE number and then copy the cross reference number from sheet 2 into the Blank field on sheet 1?

Basically we have on our stock spreadsheet an SKU and OE number populated but need to populate a cross reference column, we have from a supplier a spreadsheet which has an OE column and a cross reference column so need to pull the data to our sheet
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
so the common filed is OE Number

=index(Sheet2!Range with the cross reference number, MATCH( sheet1!cell with OE number, sheet2! range with OE number , 0 ))




in C sheet 1
put


=index(Sheet2!$B$2:$B$1000, MATCH( sheet1B2, sheet2!$A$2:$A$1000 , 0 ))

assuming
Spreadsheet 1

Sku column A
OE part number column B
Blank (Cross reference number ) column C

Spreadsheet 2

OE number column A
Cross reference number column B

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
 
Upvote 0
Sorry for the delay, this has been put aside for more important work and is not being revisited.

I have added a small example. Sheet 1 and sheet 2 both have 2 columns one OE part number and Fits. Sheet 1 has far more data compared to sheet 2, so looking to ideally match part number and then combine all data in the Fits cells. Happy if there is solution to allow manual work to be kept a minimum, but if not never mind. Thanks

 
Upvote 0
your profile is showing 2007 version - is that the version you are using , as there have been quite a few functions added in recent versions
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,954
Members
449,095
Latest member
nmaske

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