Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find the last value < 0
Is it possible to retrieve the last value greater or less than 0 in a column
range when there are 0-values above the value I'd like to find? There are no blanks in the range, either 0 or greater or less than zero |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find the last value < 0
Try this
=LOOKUP(2,1/(A1:A20<0),A1:A20) Mike "Mats Samson" wrote: Is it possible to retrieve the last value greater or less than 0 in a column range when there are 0-values above the value I'd like to find? There are no blanks in the range, either 0 or greater or less than zero |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find the last value < 0
Thank you Mike, that solved it!
I may add that IF the column (ledger) contains only 0 for the range you will get an error (N/A). But putting the same formula twice in a IF(ISERROR(....., it will find the last value <0 if there is any, otherwise display the 0. Regards Mats "Mike H" wrote: Try this =LOOKUP(2,1/(A1:A20<0),A1:A20) Mike "Mats Samson" wrote: Is it possible to retrieve the last value greater or less than 0 in a column range when there are 0-values above the value I'd like to find? There are no blanks in the range, either 0 or greater or less than zero |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Find First Non blank cell than find column header and return that value | Excel Worksheet Functions | |||
where to put results of find operation in find and replace functio | Excel Worksheet Functions | |||
Despite data existing in Excel 2002 spreadsheet Find doesn't find | Excel Discussion (Misc queries) | |||
'find' somtimes can't find numbers. I folowd the 'help' instructi. | Excel Worksheet Functions | |||
How do I find a file/spreadsheet that Excel says is Already open but I can't find it? | Excel Discussion (Misc queries) |