Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If the data doesn't contain negative numbers, try...
=MIN(IF(COUNTIF(OFFSET(B1:F100,ROW(B1:F100)-ROW(B1),0,1),"=0"),SUBTOTAL( 4,OFFSET(B1:F100,ROW(B1:F100)-ROW(B1),0,1)))) Otherwise, try... =MIN(IF(COUNTIF(OFFSET(B1:F100,ROW(B1:F100)-ROW(B1),0,1),{"<0","=0"}),SU BTOTAL(4,OFFSET(B1:F100,ROW(B1:F100)-ROW(B1),0,1)))) Both formulas need to be confirmed with CONTROL+SHIFT+ENTER. Hope this helps! In article lekom.at, "Sergio" wrote: Hi, This was my original solution. But I needed everything to reside in one cell. And I still do not understand why {min(max(offset(b1, row(1:100)-1, 0,1,5)))} returns the number of rows... Best. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
extract matching vales | Excel Discussion (Misc queries) | |||
Array formula returns blank in the cell where it is entered | Excel Worksheet Functions | |||
Efficient Array Formula Construction | Excel Discussion (Misc queries) | |||
Making this formula work | Excel Worksheet Functions | |||
Question to Bob Phillips (or whoever...) | Excel Worksheet Functions |