HELP creating formula

Glennodx

New Member
Joined
Nov 6, 2017
Messages
1
Hello,

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Column 1[/TD]
[TD]Column 2[/TD]
[TD]Column 3[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]1[/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]2[/TD]
[TD]22[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]2[/TD]
[TD]28[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]1[/TD]
[TD]21[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]2[/TD]
[TD]18[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]2[/TD]
[TD]32[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]1[/TD]
[TD]20[/TD]
[/TR]
</tbody>[/TABLE]

Say if I have 3 columns as above, I want to get the minimum value of column 3 among the matching sets in column 1 AND 2 only. i.e. result should only get 22 (min. of A-2)

Any hlp would be much appreciated.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Is this what you are after?

Control+shift+enter, not just enter:

=MIN(IF(FREQUENCY(IF(1-(A1:A7=""),IF(1-(B1:B7=""),MATCH(A1:A7&B1:B7,A1:A7&B1:B7,0))),ROW(C1:C7)-ROW(C1)+1)>1,C1:C7))
 
Upvote 0
Try this.
ARRAY formula in D2, then drag down

=SMALL(IF(($A$2:$A$8=A2)*($B$2:$B$8=B2),$C$2:$C$8,""),1)

To enter ARRAY formula
Paste the formula
Press F2
Press Ctrl+Shift+Enter keys together.
formula will be covered with{} brackets by excel.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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