Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I could use some advice on optimizing a formula. I currently have the following array formula in the cells of column D: {=MAX(IF($A$2:$A$13695=$A13695;$B$2:$B$13695;FALSE ))} In words: take the highest value of column B for every cell in B where the value in column A is equal to the current value of A. Example: 01/04/2010 5937 5937 01/04/2010 5936 5937 07/04/2010 5943 5943 07/04/2010 5942 5943 As we all know, excessive usage of array formulas makes calculation painfully slow. As you can see I am now at row 13695 and rows keep getting added. Can the formula be constructed in another way, for example with database functions. I suppose that I could use the DMAX function, but I've been staring at the third parameter (criterium) and I can't wrap my mind around it. All documentation seems to suggest that I need a separate table for the criterium. If a database function is the wrong way to go, please tell me. -- Amedee |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Replacing a data range in a nested array function | Excel Worksheet Functions | |||
Replacing a Table-array with a cell reference in vlookup | Excel Worksheet Functions | |||
Simplifying/speeding up this formula | Excel Worksheet Functions | |||
Speeding up calculations | Excel Discussion (Misc queries) | |||
Replacing a number value with text from array | Excel Worksheet Functions |