Lookup from Table?

bkilgore

New Member
Joined
Aug 25, 2012
Messages
23
I am trying to do a lookup from a table based on 4 criteria. 3 criteria are entered via drop down lists, and one is a constant. See below. I need a formula that will deliver the results in F10. I believe there are several ways to acomplish this, I think with Index And/Or Match, but I am having trouble.

The entire table has a named range of "Costs". This is a little over my head, so hopefully this is not too difficult. Any help is very much appreciated! Thank you!

Below is a sample from the table. The table is much larger.

A3</SPAN>
B</SPAN>
C</SPAN>
D</SPAN>
E</SPAN>
F</SPAN>
G</SPAN>
H</SPAN>
I</SPAN>
4</SPAN>
Billing</SPAN>
12435180</SPAN>
12435181</SPAN>
12435165</SPAN>
12435173</SPAN>
12435196</SPAN>
12435197</SPAN>
5</SPAN>
Region</SPAN>
East</SPAN>
East</SPAN>
West</SPAN>
West</SPAN>
National</SPAN>
National</SPAN>
6</SPAN>
Area</SPAN>
NY</SPAN>
NY</SPAN>
CA</SPAN>
CA</SPAN>
TX</SPAN>
TX</SPAN>
7</SPAN>
Type</SPAN>
Project</SPAN>
Dedicated</SPAN>
Project</SPAN>
Dedicated</SPAN>
Project</SPAN>
Dedicated</SPAN>
8</SPAN>
9</SPAN>
ResourceA</SPAN>
$ 100.00 </SPAN>
$ 80.00 </SPAN>
$ 105.00 </SPAN>
$ 85.00 </SPAN>
$ 120.00 </SPAN>
$ 115.00 </SPAN>
10</SPAN>
ResourceB</SPAN>
$ 90.00 </SPAN>
$ 70.00 </SPAN>
$ 95.00 </SPAN>
$ 75.00 </SPAN>
$ 110.00 </SPAN>
$ 105.00 </SPAN>
11</SPAN>
ResourceC</SPAN>
$ 80.00 </SPAN>
$ 60.00 </SPAN>
$ 85.00 </SPAN>
$ 65.00 </SPAN>
$ 100.00 </SPAN>
$ 95.00 </SPAN>
12</SPAN>
ResourceD</SPAN>
$ 70.00 </SPAN>
$ 50.00 </SPAN>
$ 75.00 </SPAN>
$ 55.00 </SPAN>
$ 90.00 </SPAN>
$ 85.00 </SPAN>
13</SPAN>
14</SPAN>
Crieteria</SPAN>
Results</SPAN>
15</SPAN>
Region</SPAN>
West</SPAN>
From Data Validation List</SPAN>
Rate</SPAN>
???</SPAN>
Formula to deliver results in F10</SPAN>
16</SPAN>
Area</SPAN>
CA</SPAN>
From Data Validation List</SPAN>
17</SPAN>
Type</SPAN>
Project</SPAN>
Always ="project"</SPAN>
18</SPAN>
Resource</SPAN>
ResourceB</SPAN>
From Data Validation List</SPAN>

<TBODY>
</TBODY>
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hi

Try this "array" formula (confirm with Ctrl+Shift+Enter)
=INDEX($D$9:$I$12,MATCH($C$18,$B$9:$B$12,0),MATCH($C$15&$C$16&$C$17,$D$5:$I$5&$D$6:$I$6&$D$7:$I$7,0))

Vidar
 
Last edited:
Upvote 0
This is working in the test table, I will try on the actual table to see what happens.

Is it possible to hard code the criteria in C17, so it does not need to be entered? In other words, so i can select the other 3 criteria and the formula will always use the "Project" selection?

Thank you very much for your response and assistance!!! :biggrin:
 
Upvote 0
Hi

This one has "Project" hardcoded in the formula:
=INDEX($D$9:$I$12,MATCH($C$18,$B$9:$B$12,0),MATCH($C$15&$C$16&"Project",$D$5:$I$5&$D$6:$I$6&$D$7:$I$7,0))
Remember to hit Ctrl+Shift+Enter.

Vidar
 
Upvote 0

Forum statistics

Threads
1,216,116
Messages
6,128,931
Members
449,480
Latest member
yesitisasport

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