Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
as stated in the object, I need to find the maximum in an array of strings, using VBA in Excel 2000. Of course I could use a (slooow) linear search, i.e. a simple loop over all the elements, comparing each element with the last biggest and updating if the new element is bigger. But, since Excel provides so many quick worksheet functions for a lot of tasks, I'd like to use one of them. I tried to use LOOKUP, but it doesn't work, since it expects the array to be in ascending order, which of cours isn't the case, otherwise I wouldn't need to LOOKUP at all (I'd just pick the first element of the array). Can you help me? Thanks, Best Regards Sergio Rossi |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Finding Maximum of Two Numbers in Array | Excel Programming | |||
What is the maximum number of unique strings in Excel 2003 | Excel Programming | |||
Finding Location of Maximum Value in 2D Array | Excel Discussion (Misc queries) | |||
Finding Location of Maximum Value in 2D Array | New Users to Excel | |||
Finding Location of Maximum Value in 2D Array | Excel Worksheet Functions |