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

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Dave Patton

Well-known Member
Joined
Feb 15, 2002
Messages
5,764
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
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,191,718
Messages
5,988,264
Members
440,146
Latest member
rgomes8

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
Top