Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Many thanks. I'll try it after I get home agian.
Cheers "Gary''s Student" wrote in message ... Function nonzero(r As Range) As String nonzero = "" For Each rr In r If rr.Value < 0 Then nonzero = rr.Address Exit Function End If Next End Function so if in row 17, F17 contains the first non-zero value then: =nonzero(17:17) will return $F$17 -- Gary''s Student - gsnu200727 "Mark" wrote: Hi I want to find the first cell that is not zero "0" across a row. I am also trying a VBA solution, but is there perchance a function that will do this? Mark |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Function to find the first cell that is not zero | Excel Worksheet Functions | |||
find cell function | Excel Worksheet Functions | |||
Function to find the address of a cell | Excel Worksheet Functions | |||
how can I use a function to find out if an individual cell is par. | Excel Worksheet Functions | |||
Is there a function for "not isblank" (find a cell that has a val. | Excel Worksheet Functions |