Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
seedy3
 
Posts: n/a
Default Another zero question

Earlier I posted a question about ignoring zero values, Well when I posted
that it helped, I had not fully tried the suggestion with zeros and zero
values. Well here is what I have in the cell that is giving me the problem.
=MIN(D162:D181,D136:D155,D110:D129,D84:D103,D58:D7 7,D32:D51,D6:D25) many of
these cells contain a 0 (Zero) value from another formula so I cannot just
leave them blank. I tried
=MIN(If(D162:D181,D136:D155,D110:D129,D84:D103,D58 :D77,D32:D51,D6:D250,D162:D181,D136:D155,D110:D12 9,D84:D103,D58:D77,D32:D51,D6:D25))
But that doesn't work either, any suggestions?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dav
 
Posts: n/a
Default Another zero question


Not a complete answer but the following give the correct answer if each
of your 7 ranges contains a value greater than 0, otherwise if any of
the ranges doesnot it returns 0

if entered as an array crt sht enter

=MIN(MIN(IF(D162:D1810,D162:D181)),MIN(IF(D136:D1 550,D136:D155)),MIN(IF(D110:D1290,D110:D129)),MI N(IF(D84:D1030,D84:D103)),MIN(IF(D55:D770,D55:D7 7)),MIN(IF(D32:D510,D32:D51)),MIN(IF(D6:D250,D6: D25)))

I am still thinking on it

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=535562

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
William Horton
 
Posts: n/a
Default Another zero question

You could use the DMIN function but your cells have to be next to each other.
Perhaps you can create on another part of the spreadsheet links to your
cells. Example in cell A1 have = D162, in cell A2 have = D181, in cell A2
have = D136. Then run the DMIN function off of cells A1, A2, A3, etc.

=DMIN(A1:A13,A1,B1:B2)

Where B1:B2 has your criteria (column heading in B1 and 0 in B2).

Hope this helps.

Bill Horton

"seedy3" wrote:

Earlier I posted a question about ignoring zero values, Well when I posted
that it helped, I had not fully tried the suggestion with zeros and zero
values. Well here is what I have in the cell that is giving me the problem.
=MIN(D162:D181,D136:D155,D110:D129,D84:D103,D58:D7 7,D32:D51,D6:D25) many of
these cells contain a 0 (Zero) value from another formula so I cannot just
leave them blank. I tried
=MIN(If(D162:D181,D136:D155,D110:D129,D84:D103,D58 :D77,D32:D51,D6:D250,D162:D181,D136:D155,D110:D12 9,D84:D103,D58:D77,D32:D51,D6:D25))
But that doesn't work either, any suggestions?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
seedy3
 
Posts: n/a
Default Another zero question

Thanks,

This formula worked, with the exception I couldn't do all 7 ranges in one
formula, I had to sum each array and then set results into 7 cells next to
each other then min the results.

"Dav" wrote:


Not a complete answer but the following give the correct answer if each
of your 7 ranges contains a value greater than 0, otherwise if any of
the ranges doesnot it returns 0

if entered as an array crt sht enter

=MIN(MIN(IF(D162:D1810,D162:D181)),MIN(IF(D136:D1 550,D136:D155)),MIN(IF(D110:D1290,D110:D129)),MI N(IF(D84:D1030,D84:D103)),MIN(IF(D55:D770,D55:D7 7)),MIN(IF(D32:D510,D32:D51)),MIN(IF(D6:D250,D6: D25)))

I am still thinking on it

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=535562


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
Finding and deleting question marks jezzica85 Excel Discussion (Misc queries) 3 February 25th 06 09:05 AM
Summary Page Question EyeNoNothing via OfficeKB.com Excel Discussion (Misc queries) 1 February 18th 06 10:03 PM
Pivot table question gary Excel Discussion (Misc queries) 1 January 10th 06 06:25 PM
How do I find and replace a question mark in Excel? Ranpalandil Excel Discussion (Misc queries) 1 September 7th 05 10:20 PM
An easy macro question and one I believe to be a little more diffi TroutKing Excel Worksheet Functions 3 January 18th 05 09:17 PM


All times are GMT +1. The time now is 12:13 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"