Look up part of a row in a range on a different sheet and copy a value.

Hello everyone,

I'm not an excel expert but I'am trying to become better in it. However I'm stuck and I can't find the right way to solve my problem. What I want to do is the following:

I have two excel tabs with both almost the same content, they slightly differ though. One of these tabs has a unique value per row and the otherone doesn't. I now want to make a formula that looks up a part of a row inside the other sheet and if it matches returns the unique row number.

I tried: {=Vlookup(Sheet1!B5:Q5,Sheet2!\$A\$5:\$Q\$4298,1,0)}
But this doesn't return the right value (I do get a value but not the right one). Is there anyone that can help me out?

B.
Who is Participating?

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If you are trying to find a unique set, a combination of several cells in a row, then you should just combine them in another column. You could use Concat(B5:Q5), Though that would make them all connected with no delimiter. You would have to do that on both sheets. Then in the column next to that on the sheet with the unique value just put it there like =A5. Then in you vlookup you would do vlookup(R5,Sheet2!\$R\$5:\$S\$4298,2,0).

If you attach a sample file I can get more specific and show what I'm talking about.
0
Author Commented:
Thanks for your feedback. I think concat doesn't work because the lookup range is a combination of text and numbers (though I can be wrong).

I attached a sample of my file.

What I forgot to mention is that most of the rows do not have a unique number because they are of no value to me. If the formula matches the search it shouldn't return anything (copy that cell). Hopefully this doesn't make it harder (otherwise i can always give the empty cells a easily recognizable value).

Also what might be good to know is that my Excel uses the Dutch language.

Yet again thanks for looking into this!

B
Sample.xlsx
0
I have added the formulas that I think would help you to the 2 sheets that you provided.

You can hide column S so that you don't see the concatenation of the columns. Then you can put in column A of sheet "Sample 1": "=T3"
Sample.xlsx
0

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Author Commented:
Oeh this seems very interesting! I'll check it out tonight (the formulas give errors as soon as I want to do something). Thanks for your help so far. I'll let you know if I succeed in getting everything to work.
0
The errors might be the difference in language. I used "," you might need to change them to "." or whatever your language specific delimiter is. If you change it in the first formula then you can just copy it down to all the rest.

What are the actual errors though, I might be able to help with them?
0
Author Commented:
Got it all working :). It was no effort at all! The concat function was still in english and that was all. Thanks a million for your help!
0