Hi

ania46

New Member
Joined
Oct 11, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Thank you for help on my last questions. It did work!
Now I need to similar thing but Vlookup doesn't work or I ma doing something wrong
I have 2 sheets- on sheet number 1 column C I have SKU numbers and colum M I have cell which I need import data from sheet2.
On sheet 2 I have SKU in column B and data in columb D which I need to pull to sheet 1 column M.
Please can anyone help me?
Thank you
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
in cell sheet1 M ?

use an index match

=index(Sheet2!$D$1:$D$10000, match(c2,Sheet2!$B$1:$B$10000,0))
change the range to match the data

i'm assuming the data on sheet1 C starts at row 2 - change if different


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.

This will possibly enable a quicker and more accurate solution for you.

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
in cell sheet1 M ?

use an index match

=index(Sheet2!$D$1:$D$10000, match(c2,Sheet2!$B$1:$B$10000,0))
change the range to match the data

i'm assuming the data on sheet1 C starts at row 2 - change if different


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.

This will possibly enable a quicker and more accurate solution for you.

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
Thank you.
It has picked numbers row by row - not matching SKUs. Obviously I did something wrong
Sheet 1 Column C from row 9 I have my SKUs numbers. Sheet 2 column B I have the same numbers but not in the same order what sheet1.
Now I need to pull data from sheet 2 column D by SKU (which are in column B) to sheet 1 column M
Would you be able to advise??
Thank you
 
Upvote 0
=INDEX(Sheet2!$D$9:$D$19,MATCH(Sheet1!C9,Sheet2!$B$9:$B$19,0))



Book4
ABCDEFGHIJKLM
1
2
3
4
5
6
7
8
9SKU11
10SKU22
11SKU33
12SKU44
13SKU55
14SKU66
15SKU77
16SKU88
17SKU99
18SKU1010
19SKU1111
Sheet1
Cell Formulas
RangeFormula
M9:M19M9=INDEX(Sheet2!$D$9:$D$19,MATCH(Sheet1!C9,Sheet2!$B$9:$B$19,0))


Book4
ABCD
1
2
3
4
5
6
7
8
9SKU99
10SKU88
11SKU77
12SKU66
13SKU55
14SKU44
15SKU33
16SKU22
17SKU1111
18SKU1010
19SKU11
Sheet2


shared on dropbox - BUT will only be available a few days, before i delete

 
Upvote 0
=INDEX(Sheet2!$D$9:$D$19,MATCH(Sheet1!C9,Sheet2!$B$9:$B$19,0))



Book4
ABCDEFGHIJKLM
1
2
3
4
5
6
7
8
9SKU11
10SKU22
11SKU33
12SKU44
13SKU55
14SKU66
15SKU77
16SKU88
17SKU99
18SKU1010
19SKU1111
Sheet1
Cell Formulas
RangeFormula
M9:M19M9=INDEX(Sheet2!$D$9:$D$19,MATCH(Sheet1!C9,Sheet2!$B$9:$B$19,0))


Book4
ABCD
1
2
3
4
5
6
7
8
9SKU99
10SKU88
11SKU77
12SKU66
13SKU55
14SKU44
15SKU33
16SKU22
17SKU1111
18SKU1010
19SKU11
Sheet2


shared on dropbox - BUT will only be available a few days, before i delete

Thank you even so much for your help! Now I understand it clearly
 
Upvote 0

Forum statistics

Threads
1,215,148
Messages
6,123,301
Members
449,095
Latest member
Chestertim

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