Multiple match criteria in different columns to return the unique value

HUPAXE

New Member
Joined
Jun 1, 2011
Messages
10
Hi,
Can somebody help me with this problem?
Thanks,
Bobby

1593466804153.png
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
If your case number is an actual number, try the N2 formula. If it's a text value, try the N3 formula.

Book1 (version 1).xlsb
ABCDEFGHIJKLMN
1CaseVar1Var2Var3Var4Var1Var2Var3Var4Case
211.2100424751.510004450023
321.21004250023
431.210042550
541.210044475
651.210044500
761.210044550
871.2100042475
981.2100042500
1091.2100042550
11101.2100044475
12111.2100044500
13121.2100044550
14131.510042475
15141.510042500
16151.510042550
17161.510044475
18171.510044500
19181.510044550
20191.5100042475
21201.5100042500
22211.5100042550
23221.5100044475
24231.5100044500
25241.5100044550
26
Sheet20
Cell Formulas
RangeFormula
N2N2=SUMIFS(B:B,C:C,J2,D:D,K2,E:E,L2,F:F,M2)
N3N3=INDEX(B:B,AGGREGATE(15,6,ROW(B2:B25)/(C2:C25=J2)/(D2:D25=K2)/(E2:E25=L2)/(F2:F25=M2),1))
 
Upvote 0
Wow Eric. Never imagined I'd be able to use the sumifs here. Since all rows are unique this totally works and is quite simple too.
Thank you very much.

-B
 
Upvote 0
Yes, that is a clever, unexpected use of SUMIFS that someone (not me) thought up.

Glad to help! Thanks for the feedback. :cool:
 
Upvote 0

Forum statistics

Threads
1,214,540
Messages
6,120,107
Members
448,945
Latest member
Vmanchoppy

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