Adapting a formula to find correct result

Patcheen

Active Member
Joined
Sep 28, 2015
Messages
388
Office Version
  1. 365
Platform
  1. Windows
this formula does what i want by giving the correct result

=IFERROR(AGGREGATE(14,6,$A$5:$A$500/($C$5:$C$500=$Z$388)/($D$5:$D$500="yc")/($W$5:$W$500="home"),1),"")

but my prob is when i drag it down its all the one date

column A is date (this is the result i need returned) when all the criteria Met
column c is player
column Z is is the players name that must match C
Column D is yellow cards
Column W is Home
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Try

=IFERROR(AGGREGATE(14,6,$A$5:$A$500/($C$5:$C$500=$Z$388)/($D$5:$D$500="yc")/($W$5:$W$500="home"),ROWS(X$1:X1)),"")

X$1:X1 should refer to the cell holding the formula before you drag down.
 
Upvote 0
Try

=IFERROR(AGGREGATE(14,6,$A$5:$A$500/($C$5:$C$500=$Z$388)/($D$5:$D$500="yc")/($W$5:$W$500="home"),ROWS(X$1:X1)),"")

X$1:X1 should refer to the cell holding the formula before you drag down.

Does exactly what it says on the tin - Thank you so very much
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

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