Match Index multiple criteria

damondole

New Member
Joined
Aug 25, 2010
Messages
2
Trying to get the result in C8 and D8 to read 480 and 480 respectively using the following formula:

=IF(OR(AND(G1=A8,B1="BAN"),AND(G2=A8,B2="BAN"),AND(G3=A8,B3="BAN"),AND(G4=A8,B4="BAN")),INDEX(C1:C4,MATCH(A8,G1:G4,0)),"")

The result does not sum both 240 listed in C1&C2, C3&C4 respectively.. Need help

Column1Column2Column3Column4Column5Column6Column7
LPO53DBAN24010
LPO53DBAN24010
EPO53CORG24010
EPO53CORG24010
10240240

<!--StartFragment--> <colgroup><col width="100" span="7" style="width:75pt"> </colgroup><tbody>
<!--EndFragment--></tbody>

<attachment></attachment>
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi,

If you have SUMIFS:


Excel 2010
ABCDEFG
1LPO53DBAN24010
2LPO53DBAN24010
3EPO53CORG24010
4EPO53CORG24010
5
6
7
810480480
Sheet3
Cell Formulas
RangeFormula
C8=SUMIFS($C1:$C4,$G1:$G4,$A8,$B1:$B4,"BAN")
D8=SUMIFS($C1:$C4,$G1:$G4,$A8,$B1:$B4,"ORG")
 
Upvote 0

Forum statistics

Threads
1,215,575
Messages
6,125,629
Members
449,241
Latest member
NoniJ

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