jazminecat
Programmer
Hi again all!
I have two worksheets that my boss needs a comparison done on. the information was downloaded from a database into excel.
Worksheet A has a list of parts and description, in columnC as Part and Description. In the format 123456789 TEXT. I cannot change this. It also has a columnG of numerical values.
Worksheet B has a columnA part # in format 123456789, Column B description as TEXT, and column F as numerical values.
I'm sure you can see where I"m going.
I need to look at WorksheetB column A, and compare that part number to the part number in Worksheet Column A, and then return the value from Worksheet B into Column G of Worksheet A.
I don't know how to look for a numerical value in a combined field...and I can't split off the part # and description, even though I should.
Example data:
Worksheet A
Part&Description Cost
12345Widget .05
88904Tire 1.24
99886Pants .55
Worksheet B
Item# Cost
12345 .06
88904 1.24
99886 1.00
So, I need to put a function in the Cost column of Worksheet A that will look at Part&Description and compare it to the part # on worksheet b, and update the cost using the value from WorksheetB.
I've played with Vlookup and match, but can't figure out how to get the value of WOrksheet B to compare to any value in worksheet A. I can't find a CONTAINS function.
Thanks in advance!
I have two worksheets that my boss needs a comparison done on. the information was downloaded from a database into excel.
Worksheet A has a list of parts and description, in columnC as Part and Description. In the format 123456789 TEXT. I cannot change this. It also has a columnG of numerical values.
Worksheet B has a columnA part # in format 123456789, Column B description as TEXT, and column F as numerical values.
I'm sure you can see where I"m going.
I need to look at WorksheetB column A, and compare that part number to the part number in Worksheet Column A, and then return the value from Worksheet B into Column G of Worksheet A.
I don't know how to look for a numerical value in a combined field...and I can't split off the part # and description, even though I should.
Example data:
Worksheet A
Part&Description Cost
12345Widget .05
88904Tire 1.24
99886Pants .55
Worksheet B
Item# Cost
12345 .06
88904 1.24
99886 1.00
So, I need to put a function in the Cost column of Worksheet A that will look at Part&Description and compare it to the part # on worksheet b, and update the cost using the value from WorksheetB.
I've played with Vlookup and match, but can't figure out how to get the value of WOrksheet B to compare to any value in worksheet A. I can't find a CONTAINS function.
Thanks in advance!