Matching values from column B&A and returning C

Jon_R

New Member
Joined
Jun 13, 2011
Messages
2
Hi All

I have the following excel document. You can download it from here

I would like to be able to populate the Version information from worksheets Terminal Inventory and Cashier Inventory into the Summary worksheet.

As you can see i've had some partial success but I have a problem were data isn't constant. I have data in Terminal Inventory that relates to terminal name, shop location, and software version. The problem is that terminal name should follow a naming convention where the shop location is part of the terminal name, but in some cases i have the incorrect shop location as part of the terminal name. My next column along contains the correct shop location. Therefore I would like to be able to find the shop location, then identify in column A if the terminal is in postion 1-4 (a number will always be present), and then display the terminal version from colum C. You can see i'm currently cutting this data down to only display from character 18 for 13 characters as I only need this information. I dont have this problem with cashiers as we only have 1 cashier in each shop.

formula currently being used is: =MID(CELL("Contents",INDEX('Terminal Inventory'!$C:$C,MATCH("*"&A2&"*1*",'Terminal Inventory'!$A:$A,0))),18,13)

Any help or advice please?

This workbook does have a macro i made to delete all enteries in the 2 worksheets where we have OLD data that I dont want to interpret.

Cheers.

Jon.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hi Jon,
I found only a couple of lines where I couldn't find column B in column A (as in: shop numbers not matching), but what I would do in this case is create an extra column in your data sheet with a formula with the "corrected" name:
=LEFT(A1;4)&B1&RIGHT(A1;LEN(A1)-10)
And then use that one in your formula...
G'luck,
Koen
 
Upvote 0
Hi Koen

Your right this is the easiest option. I was making it much more complicated than it needed to be ;).

Thanks.

Jon.
 
Upvote 0

Forum statistics

Threads
1,224,525
Messages
6,179,317
Members
452,905
Latest member
deadwings

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