Question with 3 or 4 condition Vlookup & Index Formula

nghiencuukh7

New Member
Joined
May 6, 2019
Messages
6
Dear Friend !


I have a char and i want to find barcode of each Article, As you can see in my exel table , many article have same article number , name , and Unit but they have many different barcode number because their unit is not same .
The problem is when i use vlookup or Index & match formular with 2 condition they work good . But when i add one more condition, they fasle. You can see in L column and M column
Hope you guys will help me stolve this formular with 3 or 4 condition :LOL::LOL:

https://www.dropbox.com/s/i2c04f0exdzyax2/Barcode.xlsx?dl=0

this is my file

thank you
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
You formulae work for me. When copied down you get barcodes from row 22 onwards.
The top rows don't have a match for all 3 conditions
 
Upvote 0
Hi ngh,

A simple solution would be to add a column next to your first table with the formula for that being; =A3&B3&C3 and drag that down.

You can than do an index match and reference that column instead of the data columns if you know what i mean?

The final index match formula looks like; =INDEX(D3:D118,MATCH(G3&H3&I3,E3:E118))

You can then hide the column if you would like.

I can upload your excel file if you would like?
 
Upvote 0
Hi ngh,

A simple solution would be to add a column next to your first table with the formula for that being; =A3&B3&C3 and drag that down.

You can than do an index match and reference that column instead of the data columns if you know what i mean?

The final index match formula looks like; =INDEX(D3:D118,MATCH(G3&H3&I3,E3:E118))

You can then hide the column if you would like.

I can upload your excel file if you would like?
yes thank you :D
 
Upvote 0
@levy77
That is giving incorrect answers.
The first row returns 8935597 from row 116, which has no resemblance to the article or name.
If you change the formula to an exact match, you get exactly the same as the OP's formula.
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,172
Members
448,870
Latest member
max_pedreira

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