SMALL formula with negative values only and excluding 0

Nakeele

New Member
Joined
Mar 2, 2012
Messages
7
Hi Guys,

I have a the table below. I'm trying to get the smallest value with negative values only and excluding 0.
If there are no negative values it should show a blank cell.

I tried using OR and AND. It works with OR as long as there is a negative value. It doesn't work with AND.

Thanks for your help!


Array formula, where Column E is Amounts :

Code:
IFERROR(SMALL(IF(OR(E2:E6<0,E2:E6<>0),E2:E6),1),"")


[TABLE="width: 300"]
<tbody>[TR]
[TD]Subs.[/TD]
[TD] Cie[/TD]
[TD]Curr[/TD]
[TD] Amounts[/TD]
[/TR]
[TR]
[TD]Example[/TD]
[TD]ABC[/TD]
[TD]USD[/TD]
[TD] (250,000)[/TD]
[/TR]
[TR]
[TD]Example[/TD]
[TD]DEF[/TD]
[TD]USD[/TD]
[TD] 757,712[/TD]
[/TR]
[TR]
[TD]Example[/TD]
[TD]IJK[/TD]
[TD]USD[/TD]
[TD] 198,723[/TD]
[/TR]
[TR]
[TD]Example[/TD]
[TD]LMN[/TD]
[TD]USD[/TD]
[TD] -[/TD]
[/TR]
[TR]
[TD]Example[/TD]
[TD]OPQ[/TD]
[TD]USD[/TD]
[TD] 2,500,000[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,223,911
Messages
6,175,335
Members
452,636
Latest member
laura12345

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