Index/Match to Conditional Spaces

Status
Not open for further replies.

ipperz

New Member
Joined
Feb 1, 2018
Messages
12
Hello,

I am trying to create an Index/Match (open to other suggestions) that would return information from an array that was based around a few conditional matches.

In the example below: John Smith has pay/deductions assigned to Department 200 and 201 (rows 2:7 are for Dept. 200, rows 8:15 are for Dept. 201).

If I were to want John's "Tax 2" amount for Dept. 201, could an Index/Match or other formula find this? I can't figure out a way to create the Index array to be based around a conditional section (If Dept. 201 and name is John Smith, then array D8:E15).



Excel 2016 (Windows) 32 bit
ABCDE
1Department & NamePay DescriptionAmountDeduction DescriptionAmount
2200PAY 125.00TAX 12.33
3John SmithTAX 20.38
4DEDUCTION 10.81
5DEDUCTION 20.00
6DEDUCTION 30.12
7Deduction Total:3.64
8201PAY 150.00TAX 14.16
9John SmithPAY 25.00TAX 20.69
10Pay Total:55.00TAX 33.01
11DEDUCTION 12.48
12DEDUCTION 20.00
13DEDUCTION 31.45
14DEDUCTION 41.05
15Deduction Total:12.84
Sheet1


Thank you for your insights!
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Status
Not open for further replies.

Forum statistics

Threads
1,215,078
Messages
6,122,996
Members
449,093
Latest member
masterms

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