# Excel - COLUMN Function Problem - Expert Solution

Question description:
This user has given permission to use the problem statement for this blog.

Good Morning, I am trying to get parts from one column in an excel spread sheet to match up with a parts and cost column from a different excel spread sheet. (Not all parts on each spread sheet are the same)
Solved by S. L. in 49 mins
This is the chat thread from the real Excelchat help session. It contains no private user information.
Excelchat Expert 19/12/2017 - 02:38
Hello. Welcome and thank you for choosing Got It Pro Excel.
Excelchat Expert 19/12/2017 - 02:39
I got your query, however I would like to clear a few points in it.
Excelchat Expert 19/12/2017 - 02:40
Do you have your spreadsheet file with you that you can share with me? So that I can easily work with problem and deal with our difficulties. Thank you.
User 19/12/2017 - 02:43
No, I'm sorry. I can't give you the spread sheet.
Excelchat Expert 19/12/2017 - 02:44
Okay. I understand that. But please, kindly elaborate further the description of your query. If you can give me the expected output, that would be a greater help. Thank you.
User 19/12/2017 - 02:45
I'll send you a quick example.
Excelchat Expert 19/12/2017 - 02:46
User 19/12/2017 - 02:46
On one spread sheet I have a column of part numbers.
Excelchat Expert 19/12/2017 - 02:46
Okay.
User 19/12/2017 - 02:47
14521 14515 14511 74847 oem-454
Excelchat Expert 19/12/2017 - 02:47
An then.
User 19/12/2017 - 02:49
On another spreadsheet I have another column with part numbers as well. Some of the part numbers in the column above are in it but some are not, so I can't just sort them.
Excelchat Expert 19/12/2017 - 02:49
Okay. That's on another worksheet.
User 19/12/2017 - 02:50
I am also trying to put the cost of the second column of parts sorted to match the part numbers on the first spread sheet, make sense?
User 19/12/2017 - 02:50
I'm not really great at explaining myself lol
Excelchat Expert 19/12/2017 - 02:50
On the first worksheet, at the adjacent column there is the listed price.
Excelchat Expert 19/12/2017 - 02:51
You want to get the cost from the first worksheet and have that cost be transferred to the second worksheet? Is that what you mean?
Excelchat Expert 19/12/2017 - 02:52
I mean the cost, not price..
User 19/12/2017 - 02:52
On the first work sheet I just need the part numbers. From the second work sheet, I want to match up the numbers that match as well as pricing to that first spread sheet column.
User 19/12/2017 - 02:53
The cost and the parts that coincide with that cost
User 19/12/2017 - 02:53
On the first sheet, I want just the part numbers.
Excelchat Expert 19/12/2017 - 02:53
Okay.
User 19/12/2017 - 02:54
From the second sheet I want to match the part numbers and cost from those part numbers to the part numbers on the first sheet.
Excelchat Expert 19/12/2017 - 02:55
So, the formula must be written on the second worksheet, am I right?
User 19/12/2017 - 02:55
I believe so.
User 19/12/2017 - 02:55
4.12
Excelchat Expert 19/12/2017 - 02:57
You typed in the values in worksheet 2, column B.. Those are the costs?
Excelchat Expert 19/12/2017 - 02:58
I guess we just need a VLOOKUP function to do that.
Excelchat Expert 19/12/2017 - 03:06
Excelchat Expert 19/12/2017 - 03:09
You can use this formula: =IF(VLOOKUP(A2,Sheet2!A:B,2,FALSE),VLOOKUP(A2,Sheet2!A:B,2,FALSE),"")
Excelchat Expert 19/12/2017 - 03:10
Here is another formula: =IFERROR(VLOOKUP(A2,Sheet2!A:B,2,FALSE),"")

This is the output file from the real Excelchat help session:
This is an example of the expert help you can get. It contains no private user information.

Get instant expert help with Excel and Google Sheets

#### Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Your privacy is guaranteed. Your session will not be used for blog unless you give us persmission.