Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default Problem with the 0 value

Hello,

I need a formula to compare the list of entries in a column and display the
minimum of them at the end.

For example from D1:D50, each cell has 0 value in each cell based on a
formula (=A1+B1+C1), similarly for all the cells from D2 to D50.

Based on the entries in the columns A, B and C the total of them is getting
displayed in column D.

If the entries are 5 (range A1:C5), the sum is getting displayed from D1 to
D5 and the other cells D6 to D50 are showing as 0 because of the formula.

I am trying to put the formula =MIN(D1:D50) in D51 but the value is showing
as 0 instead of the lowest among the five values in D1 to D5.

How do I get the minimun value which looks only the entries and displays the
minimum ignoring the 0 values in the same column.

Thanks in advance
Sasikiran

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Problem with the 0 value

an easy way is to put an interim step in column E

=if(d10,d1,"")

then calc the min on column E

hope this helps.



"Sasikiran" wrote:

Hello,

I need a formula to compare the list of entries in a column and display the
minimum of them at the end.

For example from D1:D50, each cell has 0 value in each cell based on a
formula (=A1+B1+C1), similarly for all the cells from D2 to D50.

Based on the entries in the columns A, B and C the total of them is getting
displayed in column D.

If the entries are 5 (range A1:C5), the sum is getting displayed from D1 to
D5 and the other cells D6 to D50 are showing as 0 because of the formula.

I am trying to put the formula =MIN(D1:D50) in D51 but the value is showing
as 0 instead of the lowest among the five values in D1 to D5.

How do I get the minimun value which looks only the entries and displays the
minimum ignoring the 0 values in the same column.

Thanks in advance
Sasikiran

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 638
Default Problem with the 0 value

Array formula. Enter with Ctrl+Shift+Enter.
This will ignore any values equal to or less than 0.
=MIN(IF(D1:D500,D1:D50))
Sasikiran wrote:
Hello,

I need a formula to compare the list of entries in a column and display the
minimum of them at the end.

For example from D1:D50, each cell has 0 value in each cell based on a
formula (=A1+B1+C1), similarly for all the cells from D2 to D50.

Based on the entries in the columns A, B and C the total of them is getting
displayed in column D.

If the entries are 5 (range A1:C5), the sum is getting displayed from D1 to
D5 and the other cells D6 to D50 are showing as 0 because of the formula.

I am trying to put the formula =MIN(D1:D50) in D51 but the value is showing
as 0 instead of the lowest among the five values in D1 to D5.

How do I get the minimun value which looks only the entries and displays the
minimum ignoring the 0 values in the same column.

Thanks in advance
Sasikiran


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
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 07:30 PM
problem with a conditional max problem Brian Cornejo Excel Discussion (Misc queries) 1 February 18th 05 06:25 PM


All times are GMT +1. The time now is 04:46 PM.

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

About Us

"It's about Microsoft Excel"