Matching an ID from 2 columns in 2 worksheets to then produce the figure from a 3rd column.

Pavesib

New Member
Joined
May 15, 2024
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
Apologies for the title of this thread, was trying to figure out a way to summarise the issue.

I currently have created an inventory stock control sheet for logging all components we use. This is currently in a table format called "Inventory_Stock". I have also created a packing list sheet that would be updated on a daily basis to list all components that have been taken in relation to a certain order.

Within the packing list, I want an order # to be added manually and then select a "ITEM NO." from the drop down list (This has already been created). Once the item no. has been selected, I want some of the remaining fields to be automatically populated with data from the other sheet.

Unfortunately I have tried using a range of options from VLOOKUP, INDEX & MATCH, IF, ISNA but I can never seem to get the required result.

I have attached an image of both sheets.

I am currently trying to get it so that depending on what is selected in the ITEM NO. column on the "Inventory pick list" sheet, it finds the equivalent matching ITEM NO. from the "Stock Inventory Control" sheet and within QUANTITY AVAILABLE on the "Inventory Pick List" sheet, it returns the figure for STOCK QUANTITY from the "Stock Inventory Control" sheet.

I will then also be using this for the Item description, Location etc.

I hope that makes sense, so far everything I have tried using has just returned an N/A result.
 

Attachments

  • Inventory Pick List.png
    Inventory Pick List.png
    24.3 KB · Views: 7
  • Stock Inventory Control.png
    Stock Inventory Control.png
    69.7 KB · Views: 8

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
the item numbers are text ??? as left justified starting C4
and look like text in the other sheet

so an index/match should work
Assuming the sheet name is 'Stock inventory

in E4
=index('Stock inventory'!$K$7:$K$100, match(C4,'Stock inventory'!$C$7:$C$100,0))

otherwise what have you tried
and
Note: Images are difficult to see , and also requires that I input all the data myself, which means I may make an error, which is very time consuming, and from my point of view less likely to get a response, if a complicated spreadsheet. Plus we cannot see any of the formulas used.

Therefore -

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
the item numbers are text ??? as left justified starting C4
and look like text in the other sheet

so an index/match should work
Assuming the sheet name is 'Stock inventory

in E4
=index('Stock inventory'!$K$7:$K$100, match(C4,'Stock inventory'!$C$7:$C$100,0))

otherwise what have you tried
and
Note: Images are difficult to see , and also requires that I input all the data myself, which means I may make an error, which is very time consuming, and from my point of view less likely to get a response, if a complicated spreadsheet. Plus we cannot see any of the formulas used.

Therefore -

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
I appreciate your help, I feel like I messed up with the initial Index array and that had messed up the whole formula. Such a basic error but I think I had just been starting at it for too long. Thank you!
 
Upvote 0
ok, you are welcome, is that now solved it for yuu ??
 
Upvote 0

Forum statistics

Threads
1,223,952
Messages
6,175,594
Members
452,655
Latest member
goranzoric

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