Multiple Array Criteria

BrizzleC

New Member
Joined
Mar 10, 2015
Messages
25
Hello all.

Using the table below:

Excel 2007
ABCDEFGHIJ
1Schemes
2CatResult Header£0-200k (CWBS Only)£0-2m
(CWBS Only)
£2-7m£7-20m£20-70m£70-250m£250 - 750m>£750m
3NMin00000000
4ML00000000
5Max00000000
6VLMin00000000
7ML5005,00025,00075,000250,000500,0002,500,0005,000,000
8Max1,00010,00050,000150,000500,0001,000,0005,000,00010,000,000
9LMin1,00010,00050,000150,000500,0001,000,0005,000,00010,000,000
10ML1,75017,50087,500250,000875,0001,750,0008,750,00017,500,000
11Max2,50025,000125,000350,0001,250,0002,500,00012,500,00025,000,000
12MMin2,50025,000125,000350,0001,250,0002,500,00012,500,00025,000,000
13ML4,00037,500187,500550,0001,875,0004,000,00018,750,00037,500,000
14Max5,50050,000250,000750,0002,500,0005,500,00025,000,00050,000,000
15HMin5,50050,000250,000750,0002,500,0005,500,00025,000,00050,000,000
16ML7,75075,000375,0001,125,0004,000,0007,750,00037,500,00075,000,000
17Max10,000100,000500,0001,500,0005,500,00010,000,00050,000,000100,000,000
18VHMin10,000100,000500,0001,500,0005,500,00010,000,00050,000,000100,000,000
19ML15,000150,000750,0002,250,0007,750,00015,000,00075,000,000150,000,000
20Max20,000200,0001,000,0003,000,00010,000,00020,000,000100,000,000200,000,000

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet2

The scheme is selected within one part of the spreadsheet (B25) and the Category is selected in the same table (F25) as the results; and I want the Min, ML and Max values to be auto-populated within the table dependant on the criteria selected.

eg Scheme £2-7m & Category L will return Min = 50,00; ML = 87,500; Max = 125,000

There will only be one Scheme per spreadsheet, however this will be part of a larger template so there is a need to have one index rather than one separate for each Scheme.

I've got the following to work to populate when working with a smaller table with just the min values:

=INDEX($C$2:$J$7,MATCH($F$13,$A$2:$A$7,0),MATCH($B$13,$C$1:$J$1,0))
But not sure how to populate the ML and Max parts.

Any help would be much appreciated.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
What is you destination layout? Do you want min ml and max all in the same cells, or in separate rows? Can you post a sample of what you want the end result to look like?
 
Upvote 0
The destination is part of a large Risk Register so far too large to post the whole thing here; but essentially the Scheme is selected from a drop down box in the header section of the register and there is a Impact Column (Category) that the VH, H, M, L, VL & N is selected and to the right are three columns where the Min, ML & Max are to be populated.

I have attached an example extract below:

Excel 2007
FGHI
22ImpactMinMLMax
23N0#N/A#N/A
24VL#N/A#N/A#N/A
25L#N/A#N/A#N/A
26M#N/A#N/A#N/A
27H#N/A#N/A#N/A
28VH#N/A#N/A#N/A

<tbody>
</tbody>
Sheet2
Thanks again
 
Upvote 0
If Min, ML, and Max are always in that order you could simply add 1 to the end of the row argument for ML and 2 for Max:

=INDEX($C$2:$J$7,MATCH($F$13,$A$2:$A$7,0)+1,MATCH($B$13,$C$1:$J$1,0)) and =INDEX($C$2:$J$7,MATCH($F$13,$A$2:$A$7,0)+2,MATCH($B$13,$C$1:$J$1,0))

or

=INDEX($C$2:$J$7,Match("ML",OFFSET($B$2:$B$4,$MATCH($F$13,$A$2:$A$7,0)-1,0),0),MATCH($B$13,$C$1:$J$1,0)) -untested
 
Upvote 0
Cheers ndsutherland!!

The top suggestion works perfectly :) Have managed to incorporate into my Register and can happily change the Schemes and Impacts; with the Min , ML and Max columns being populated correctly.

FYI I tried the bottom one but it didn't work.
 
Upvote 0

Forum statistics

Threads
1,215,695
Messages
6,126,265
Members
449,308
Latest member
VerifiedBleachersAttendee

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