can this be done?

Tartesos

Board Regular
Joined
Feb 3, 2011
Messages
109
In sheet 2 I have a columm wiht all the ref. numbers from A1 to A10 (lest say). On that same sheet , but on columm B1:B10, there is a code number that is different for each ref. number on A1:A10.

In sheet 1 we have from A1:A10 where I can type a ref. number.

What Im looking for is a formula that will look on the sheet one and when you enter a number (A1:A10 sheet one) it will check that number and if it finds a 5 on the 9th place it will output the information from the B1:B10 of sheet 2 in the B1:B10 on sheet 1

So what I look for is the formula that will be able to check an entry number on A1 to A10 and if it finds the number 5 on the 9th place of that number it will get data from B1:B10 from the sheet 2 and put it on the B1:B10 on sheet 1. Is this possible??

Regards
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Sounds like a job for a VLOOKUP. Have a look at VLOOKUP in Excel help.
 
Upvote 0
Try posting a sample,

create a sample table for the Sheet2 data, apply "all borders" to the table, then simply copy it and paste into your reply here.

Then do the same for Sheet1, with a few examples of what you will be entering in column A and the result you would expect in column B.
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,812
Members
452,945
Latest member
Bib195

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