Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Array Problem 1

Status
Not open for further replies.

clifftech

ISP
Nov 9, 2001
111
US
Help please-

I have a single column, 10 row vertcial array that I need to determine the maximum value between (including) the 2nd and 8th row of the array. (The array size and row pairs often change).

Is it possible to do this using a array formula instead of vba?

I have tried to use an array formula using the index function but have not had any luck.

 
No array needed, it's jsut a simple(ish) MAX function, with INDEXes:
Code:
=MAX(INDEX(A1:A10,2):INDEX(A1:A10,8))




Cheers, Glenn.

Beauty is in the eye of the beerholder.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top