Formula Index-Match with 2 criteria NON array and NON VBA

VeKa27

Board Regular
Joined
Sep 11, 2015
Messages
56
Hi Guys,
Need your help on this one.. I have a tabel that looks like this one: (data can be filled in with blanco lines between)
StatusMarkTypeFuelPlateKMOmniumOmnium UntilWinter TyresColorRemarks
ActiveBMW320GABC-123-560000Yes30/06/2020NoWhite
Non ActiveMercedesA-ClassUNLABC-321-932000No31/12/2019NoGrey
ActiveAudiA6GABC-222-251000Yes25/05/2020YesBlack
Non ActiveAudiA3UNLABC-333-520Yes25/08/2020YesRed
ActiveVWPassatGABC-555-325000NoNoneNoWhite
Now i have another litle tabel where the user needs to lookup some value on 2 criteria. First the markname and second the status of the vehicle.

AudiNon Active
Type + Fuel:G
Plate:
KM:
Omnium + Date Until:
Winter Tyres:
Color:
So, the field where now "Audi" stands is selectable on all marks. For example if the user chooses "Audi".
The field besides is also selectable between "Active and Non Active".
After selection, the information has to be automatic filled in on the 2 selectable criterias. (in example above, we must seek the information of: Audi, Non Active. Type + Fuel: has to be "A3 UNL", Plate: has to be "ABC-333-5", and so further on..)

I tried many times vith INDEX and MATCH but i can't fix the formulas on the 2 criterias.
Important: I can't use array function in formula an i don't want to use VBA.

Someone smart enough to fix the formulas for the fields?

Allready Big Thanks for your help,
 
If in the second table, you separate the "Type + Fuel" concepts into separate rows, then you could have a unique formula:
(It is also considering the helper column.)

Book1
ABCDEFGHIJKLM
1StatusMarkTypeFuelPlateKMOmniumOmnium UntilWinter TyresColorRemarksHelper Column
2ActiveBMW320GABC-123-560000Yes30/06/2020NoWhite1
3Non ActiveMercedesA-ClassUNLABC-321-932000No31/12/2019NoGrey1
4ActiveAudiA6GABC-222-251000Yes25/05/2020YesBlack1
5Non ActiveAudiA3UNLABC-333-520Yes25/08/2020YesRed1
6ActiveVWPassatGABC-555-325000NoNoneNoWhite1
7Non ActiveAudiB10UNL2XYZ-222-2100Yes25/05/2020YesBlack2
8Non ActiveAudiXXXYYYYZZZZ99YES25/10/2020NOWHITE3
9
10
11
12AudiNon Active3
13TypeA3B10XXX 
14FuelUNLUNL2YYYY 
15PlateABC-333-5XYZ-222-2ZZZZ 
16KM2010099 
17OmniumYesYesYES 
18Omnium Until440684397644129 
19Winter TypesYesYesNO 
20Color:RedBlackWHITE 
Sheet2 (2)
Cell Formulas
RangeFormula
M2:M8M2=COUNTIFS($A$2:A2,A2,$B$2:B2,B2)
C12C12=COUNTIFS('Sheet2 (2)'!A2:A8,B12,'Sheet2 (2)'!B2:B8,A12)
B13:E20B13=IFERROR(LOOKUP(2,1/(($A$2:$A$8=$B$12)*($B$2:$B$8=$A$12)*($M$2:$M$8=COLUMNS($B$12:B12))),INDEX($C$2:$J$8,0,ROWS($A$13:A13))),"")
 
Upvote 0

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