Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Minimum without zeros or negatives

A B C D E
0125 0.0% 0.0% 3.3% 0.0%
0108 0.0% 0.0% 1.2% 0.0%
0110 0.0% 0.0% 3.9% 0.0%
0104 6.3% 0.0% 0.0% 0.0%
0 -100.0% -100.0% -100.0% -100.0%
0 -100.0% -100.0% -100.0% -100.0%
0 -100.0% -100.0% -100.0% -100.0%

I have two issues that I cannot resolve.

I need to return the minimum result from the above column d excluding zero
and the negative numbers. I have tried =min(if(d1:d70,d1:d7) with no luck.

I also need to return the corresponding information in column A from the
selected minimum value in column D.

Thanks in advance for your help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Minimum without zeros or negatives

For minimum after entering the following formula press "Ctrl+Shift+Enter"
=MIN(IF(D1:D7<0,D1:D7))

Say you entered the above formula in cell D9 a simple vlookup in any cell
would get you the corresponding Col D
=index(a1:a7,match(d9,d1:d7,0))

"Hope" wrote:

A B C D E
0125 0.0% 0.0% 3.3% 0.0%
0108 0.0% 0.0% 1.2% 0.0%
0110 0.0% 0.0% 3.9% 0.0%
0104 6.3% 0.0% 0.0% 0.0%
0 -100.0% -100.0% -100.0% -100.0%
0 -100.0% -100.0% -100.0% -100.0%
0 -100.0% -100.0% -100.0% -100.0%

I have two issues that I cannot resolve.

I need to return the minimum result from the above column d excluding zero
and the negative numbers. I have tried =min(if(d1:d70,d1:d7) with no luck.

I also need to return the corresponding information in column A from the
selected minimum value in column D.

Thanks in advance for your help.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default Minimum without zeros or negatives

Your formula should work if you commit it with CTRL+SHIFT+ENTER as it is an
array formula
For part 2, see help under LOOKUP and come back with additional questions
best wishes

--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Hope" wrote in message
...
A B C D E
0125 0.0% 0.0% 3.3% 0.0%
0108 0.0% 0.0% 1.2% 0.0%
0110 0.0% 0.0% 3.9% 0.0%
0104 6.3% 0.0% 0.0% 0.0%
0 -100.0% -100.0% -100.0% -100.0%
0 -100.0% -100.0% -100.0% -100.0%
0 -100.0% -100.0% -100.0% -100.0%

I have two issues that I cannot resolve.

I need to return the minimum result from the above column d excluding zero
and the negative numbers. I have tried =min(if(d1:d70,d1:d7) with no
luck.

I also need to return the corresponding information in column A from the
selected minimum value in column D.

Thanks in advance for your help.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Minimum without zeros or negatives

Did you enter your array formula with CTRL-SHIFT-ENTER?

If so, what does "no luck" mean to you?


In article ,
Hope wrote:

A B C D E
0125 0.0% 0.0% 3.3% 0.0%
0108 0.0% 0.0% 1.2% 0.0%
0110 0.0% 0.0% 3.9% 0.0%
0104 6.3% 0.0% 0.0% 0.0%
0 -100.0% -100.0% -100.0% -100.0%
0 -100.0% -100.0% -100.0% -100.0%
0 -100.0% -100.0% -100.0% -100.0%

I have two issues that I cannot resolve.

I need to return the minimum result from the above column d excluding zero
and the negative numbers. I have tried =min(if(d1:d70,d1:d7) with no luck.

I also need to return the corresponding information in column A from the
selected minimum value in column D.

Thanks in advance for your help.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Minimum Excluding zeros across multiple sheets [email protected] Excel Worksheet Functions 5 November 12th 08 06:41 PM
Minimum formula the excludes zeros Joco Excel Worksheet Functions 3 August 14th 06 08:51 AM
How to lookup the minimum, 2nd minimum and 3rd minimum......... Mark McDonough Excel Worksheet Functions 8 July 15th 06 09:39 PM
hide zeros & negatives for date formulas kimdnw Excel Discussion (Misc queries) 2 February 8th 06 07:34 PM
save text field w/ leading zeros in .csv format & not lose zeros? Ques Excel Discussion (Misc queries) 1 May 4th 05 06:21 PM


All times are GMT +1. The time now is 05:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"