converting an array formula to a regular formula

bluefish44

Board Regular
Joined
Apr 3, 2009
Messages
190
Hi All - I recently inheruted a spreadsheet that contains the following array formula

{MIN(IF('Raw Data'!$H:$H=$A2,'Raw Data'!$C:$C))}

Does anyone know of a way to convert this to a formula thats not an array?
Thanks in advance
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Upvote 0
@bluefish44, do you have the option of using a helper column? If so, let me know which column in the Raw Data tab can be used as a helper column (you can even hide it if you don't want to see it), and the name of the tab where this formula is going.
 
Last edited:
Upvote 0
why limit the range?

Because array formulas including SUMPRODUCT, by design, evaluate all rows in the range. Using H:H=A2 the formula evaluates (does the comparisons) in 1,048,576 rows causing detriment to the spreadsheet performance.
Another functions like COUNTIF(s), SUMIF(s) and similar are smart enough to evaluate only rows with data. So there is no problem in using references to entire columns in these functions.

M.
 
Upvote 0

Excel 2010
ABCDEFGH
1
2Bob55Bob
352Jill
456Bob
57Bob
610Bob
712Jill
814Bob
916Bob
101Andy
Raw Data
Cell Formulas
RangeFormula
B3=LARGE(INDEX(('Raw Data'!H2:H10=A2)*'Raw Data'!C2:C10,),COUNTIF('Raw Data'!H2:H10,A2))
B4=AGGREGATE(15,6,1/('Raw Data'!$H$2:$H$10=A2)*'Raw Data'!$C$2:$C$10,1)
B2{=MIN(IF('Raw Data'!$H:$H=$A2,'Raw Data'!$C:$C))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
@Dave

You are right, all of the formulas you've suggested return correct results, but, in fact, they are array formulas in the sense they deal with arrays, spite they don't need to be confirmed with CSE.

Another possible formula without CSE would be
=SUMPRODUCT(MIN((H2:H10=A2)*C2:C10+(H2:H10<>A2)*9.99E+307))

I 'm trying to, mostly, warn about the use of references to entire column in array formulas.

M.
 
Upvote 0

Forum statistics

Threads
1,215,040
Messages
6,122,806
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top