Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi everyone,
I've become efficient with using arrays, but can they be used to return text instead of numbers? For instance, I have the following set of data: .......A...........B........................C..... .............D..................E 1|| Prod. # - Mileage ------------- Open ----------- Close ----------- ID2 2|| 7151......1000...............2006-10-20......2006-10-21...........CV 3|| 7151......1001...............2006-10-22......2006-10-25...........FB 4|| 7151......1002...............2006-10-22......2006-10-25...........M I've managed to create a formula that will return the highest mileage from all Prod.#'s equivalent to 7151, for example. What I would like to do now is use this information to return the ID2 field for the product with the highest mileage. In this instance, I would like to return "M". I'm sure offset could be used somehow, but I'm having difficulties integrating it with my formula to return the highest mileage. My formula for that is as follows (I cleaned it up a bit just to make this easy to understand, it is a bit more dynamic in reality): =SUM((A2:A10=7151)*(MAX(B2:B10)))/SUM((A2:A10=7151)*1) Given this formula, can I return the "M" associated with this highest mileage? Thanks a lot:) -Sean |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
array formula(s)- not working, need some help please (problem with an 'AND') | Excel Worksheet Functions | |||
array formula problem | Excel Worksheet Functions | |||
Sumproduct / Max array formula problem | Excel Worksheet Functions | |||
Problem with array and msgbox | Excel Worksheet Functions | |||
Problem with array and msgbox | Excel Worksheet Functions |