# Ignore 0 on aggregate small function

#### sgibbs183

##### New Member
I am trying to calculate the minimum value at the minimum or earliest date. My formula currently looks like =AGGREGATE(15,7,\$L\$2:\$L\$321/((R2=\$A\$2:\$A\$321)*(T2=\$C\$2:\$C\$321)),1) With L column being my helper values, R column being the reference, A column matching my references as there are multiple entries and T column being the earliest date with C column being the full list of dates.

My aggregate small function is returning zero only for some calculations when I include a filter however I want to see the smallest value for each reference at the earliest date in my list of values with the smallest value being around £1,000 when I put a filter on.

If anyone can help me I would very much appreciate it - I have tried to explain it the best way I can but sorry if it is confusing!

#### sgibbs183

##### New Member
Ermmmm I don't actually know ha ha. I am probably going to have to stick to it returning false aren't I?

### Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

#### RoryA

##### MrExcel MVP, Moderator
You could have it look empty using:

=IF(AND(F2="Basic pay",G2="Basic pay"),AGGREGATE(15,7,1/(1/(\$L\$2:\$L\$321/((R2=\$A\$2:\$A\$321)*(T2=\$C\$2:\$C\$321)))),1),"")

Replies
3
Views
77
Replies
14
Views
338
Replies
2
Views
148
Replies
7
Views
94
Replies
3
Views
189

1,148,334
Messages
5,746,154
Members
423,994
Latest member
blzxatly

### 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.

### Which adblocker are you using?

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

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