Automatically look up values across multiple sheets

Enzo_Matrix

Board Regular
Joined
Jan 9, 2018
Messages
113
We are creating price books and the data is currently being updated manually one item at a time. I am hoping to be able to do a data dump with the new costs from our data base and have our price books update automatically.

I have 2 sheets with data in 2 of the columns in each sheet
Item name (Sheet 1)Cost (Sheet 1)Item Name (Sheet 2)Cost (Sheet 2)
AA - description1.00
BB - description1.25
CC - description1.50
DD - description1.75

<tbody>
</tbody>

I am wondering if there is something that will look at "Item Name (Sheet 1)", take the letter/word from those cells and and then reference it in "Item Name (Sheet 2)" and then pull "Cost (Sheet 2)" and input it into "Cost (Sheet 1)".

Please help
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Try this

=INDEX(Sheet2!B:B,MATCH(A2&"*",Sheet2!A:A,0))


Assumes Item name is in column A and cost is in column B iin BOTH sheets
 
Upvote 0
I did try it however it returned a value of '0'.

I also changed the 0 at the end of the formula to a 1 as it will not be an exact match. Sheet 1 only has a partial name.
 
Upvote 0
I also changed the 0 at the end of the formula to a 1 as it will not be an exact match. Sheet 1 only has a partial name.
That will not work for 2 reasons
- my formula is looking for an exact match ( * is a wildcard )
- non-exact match is for numbers not text

This is what my formula is doing:

Where is it looking for a match?

in column A in sheet 2
How is it matching?
- it is looking for sheet1 cell value followed by any other characters

So it looks for
apple
banana
carrot
damson

and will return a match for all of these
apple -a hard fruit
banana - a yellow fruit
carrot - a pointy vegetable
damson - a tasty fruit

What is different in your data?
 
Upvote 0
I should have said in the previous post

So it looks for (= values in sheet1)

apple followed by any character(s)
bananafollowed by any character(s)
carrot followed by any character(s)
damson followed by any character(s)

and will return a match for all of these (= values in sheet2)
apple -a hard fruit
banana - a yellow fruit
carrot - a pointy vegetable
damson - a tasty fruit
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,387
Members
448,957
Latest member
Hat4Life

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