Is it possible to use Multiple criteria from a single cell for lookup or index match?

marlina

New Member
Joined
Apr 17, 2018
Messages
24
Let's say we have a table
service 1 price
service 2 price
service 3 price

cell A1 contains service 1, service 2

And we get values of service 1 and service 2 from the table. If we add service 3 in the cell A1, we get all the values.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
I think something along these lines...


Book1
AB
1Service PlanCost
2Service 176.78
3Service 227.61
4Service 364.64
5Service 459.81
6Service 541.74
7Service 610.17
8
9Level
10Service 3169.03
Sheet2
Cell Formulas
RangeFormula
B10=SUM(B2:INDEX(B2:B7,MATCH(A10,A2:A7,0)))
 
Upvote 0
I think something along these lines...

AB
Service PlanCost
Service 1
Service 2
Service 3
Service 4
Service 5
Service 6
Level
Service 3

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: center"]2[/TD]

[TD="align: right"]76.78[/TD]

[TD="align: center"]3[/TD]

[TD="align: right"]27.61[/TD]

[TD="align: center"]4[/TD]

[TD="align: right"]64.64[/TD]

[TD="align: center"]5[/TD]

[TD="align: right"]59.81[/TD]

[TD="align: center"]6[/TD]

[TD="align: right"]41.74[/TD]

[TD="align: center"]7[/TD]

[TD="align: right"]10.17[/TD]

[TD="align: center"]8[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]9[/TD]

[TD="align: right"][/TD]

[TD="align: center"]10[/TD]

[TD="align: right"]169.03[/TD]

</tbody>
Sheet2

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]B10[/TH]
[TD="align: left"]=SUM(B2:INDEX(B2:B7,MATCH(A10,A2:A7,0)))[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Thank you
 
Upvote 0

Forum statistics

Threads
1,223,900
Messages
6,175,276
Members
452,629
Latest member
SahilPolekar

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