Excel formula to know what shelf to put away

ohmedic88

Board Regular
Joined
Jun 24, 2013
Messages
124
Looking to write a formula that will tell someone which shelf to look for something based on the number.

I have excel 2016 and thought of conditional formatting but I run out of colors or symbols to use.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Range[/TD]
[TD][/TD]
[TD]shelf[/TD]
[/TR]
[TR]
[TD][TABLE="width: 134"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]10049541[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]10057181[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]10057183[/TD]
[TD]10057483[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]
[TABLE="width: 134"]
<tbody>[TR]
[TD]10057505

[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]10057762[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="width: 500"]
<tbody>[TR]
[TD]Shelf[/TD]
[TD]Barcode[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]10049570[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]10057200[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]10057230[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]10057702[/TD]
[/TR]
</tbody>[/TABLE]

What formula can I use to fill in the shelf if the Ranges are in Sheet 2 A2:B20 and the Shelf and Barcode is Sheet 1 A2:B20

Thanks in advance.

Eric
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Eric,

I'm a bit confused about what in your post are data (given) and where are the desired results.
Is the first table (A2:C20 in Sheet2) given and do you want the results in Sheet1 column A, being the column B the search values)?

M.
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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