SINGLE POSITIVE MIN value

Maurizio

Well-known Member
Joined
Oct 15, 2002
Messages
682
Office Version
  1. 2007
Platform
  1. Windows
How can I get the SINGLE POSITIVE (because purchase) MIN value so:
MINIMO.xls
ABCDEFGH
1PurcaseA01TUBOACCIAIO4,0013,48253,93MIN(13,483)
2SaleA01TUBOACCIAIO-4,0012,79851,19
3PurcaseA01TUBOACCIAIO5,0015,7605,00%74,86
4SaleA01TUBOACCIAIO-5,0015,7605,00%74,86
5PurcaseA01TUBOACCIAIO6,0051,13050,00%153,39MAX(25,565)
6SaleA01TUBOACCIAIO-6,0051,13050,00%153,39
7
8HowcanIgettheSINGLEPOSITIVE(becausepurchase)MINvalueso:
9A01MAX25,565{=MAX(IF(B1:B6=A10,G1:G6/D1:D6))}
10MIN13,483???
MIN_MAX
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

plettieri

Well-known Member
Joined
Sep 4, 2002
Messages
1,556
Platform
  1. MacOS
For us new guys, could you explain a little bit more "what do you mean single positive"?
pll
 

Maurizio

Well-known Member
Joined
Oct 15, 2002
Messages
682
Office Version
  1. 2007
Platform
  1. Windows
For "single positive" I mean that the value in column "D" is >0.
Hi.
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
Array-enter:

=MIN(IF(B1:B6=A9,IF(D1:D6>0,G1:G6/D1:D6)))

Your condition for B-range is in A9, not A10!
 

Maurizio

Well-known Member
Joined
Oct 15, 2002
Messages
682
Office Version
  1. 2007
Platform
  1. Windows
Hi Aladin Akyurek, you are formidable.
Thank you, Ciao!
 

Forum statistics

Threads
1,144,328
Messages
5,723,730
Members
422,512
Latest member
MHau5

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