IF statement with a MIN function

mach3

Board Regular
Joined
Mar 24, 2002
Messages
245
here's a simple IF statement with a MIN function.

=IF(MIN(D$3:D$27)=0,0,MIN(D$3:D$27)-2%)

how do i modify the formula so that:

if the formula returns the MIN value of 0, i want the MIN value greater than zero (in other words, how do i ignore a MIN value of zero?!?). thanks.



mach3
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
On 2002-08-26 08:35, mach3 wrote:
here's a simple IF statement with a MIN function.

=IF(MIN(D$3:D$27)=0,0,MIN(D$3:D$27)-2%)

how do i modify the formula so that:

if the formula returns the MIN value of 0, i want the MIN value greater than zero (in other words, how do i ignore a MIN value of zero?!?). thanks.



mach3

Array enter with Ctrl-Shift-Enter (CSE)

=MIN(IF(D$3:D$27>0,D$3:D$27))*0.98
This message was edited by Dave Patton on 2002-08-26 09:06
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,181
Members
448,871
Latest member
hengshankouniuniu

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