Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Lets assume I have a column of numbers sorted in ascending order. Suppose
these numbers occupy the range B1:B1000. Suppose I want VBA code for Function FindNum(Num as Long) as Long [code] End Function which returns 0 if Num is not in column B and if it is returns the first row in which Num is located. I realize I could write a loop to do this but is there a faster, non-loop method? What about the case in which the numbers in col B are not sorted? Thanks -- -regards |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
What is filtered in a Pivot Table? Finding out quickly... | Excel Discussion (Misc queries) | |||
please help (need quickly) | Excel Discussion (Misc queries) | |||
How to I get to the last entry quickly | Excel Worksheet Functions | |||
need help quickly!! | Excel Discussion (Misc queries) | |||
Need help, quickly please | Setting up and Configuration of Excel |