Lookup/Index/Match

nymyth

Board Regular
Joined
Mar 4, 2010
Messages
104
Hi team,

I was wondering if someone can help me with an interesting lookup issue I am having. I will receive a file that will be similar to Tab 2, out of which I need to build a view similar to Tab 1 below (I have manually filled in the numbers, to show what those cells should read). I tried using INDEX/MATCH but am having difficulties due to the way Tab 2 is delivered. Can someone please help? Thank you.


TAB 1
YPP4BA6.png


TAB 2
VZf05x6.png
 
Last edited:

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Re: Lookup/Index/Match - help needed

Hi.

First of all, you will probably find it easier if you standardise your data from one tab to the other.
For example, "Brand 1" in tab 1 compared with "Brand1" in tab 2.
See the difference ?

I'll assume you'll correct that.

Then, taking your starting layout for tab 2, and I'll assume that instead of a new tab for tab 1, we can actually build the table on tab 2, below your existing data.
So that the entry of "50" which appears in cell C3 of your Tab 1 in your OP, will actually appear in cell C10 of Tab 2.
Adapt the cell addresses to suit your particular situation.

In C10 . . .

Code:
=OFFSET($B$3,MATCH($B10,$B$4:$B$6,0),MATCH(C$9,$C$2:$M$2,0)+MATCH($C$8,$C$3:$E$3,0)-1,1,1)
And copy / paste as required.
 
Upvote 0
Re: Lookup/Index/Match - help needed

Thanks a lot Gerald, I made some tweaks and it works great. I appreciate the help.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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