View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Max of a defined function

Barb Reinhardt wrote:
OK, maybe there's a better way to do this, but I have the Colorindex function
(from Ozgrid, I think) and I want to get the maximum value over a number of
cells[.] I have something like this:
=MAX(colorindex(A1),colorindex(A2),colorindex(A3))
I want to go 10 columns. Is there an easier way to do this?


I cannot say it is "easier", but it might be more extensible. In B1,
put =colorindex(A1) and copy into A2:A10. Then you can write
=max(A1:A10).

If you do not like column B1 cluttering up your spreadsheet, you
can hide the column.