Thanks.
Define this name (Insert, Name, Define):
Name:
Colour
RefersTo:
=GET.CELL(63,OFFSET(INDIRECT("rc",FALSE),0,-1,1,1))
Now immediately to the *right* of the cells with colours,
insert a column and enter this function into the first row:
=Colour
So if column D has the coloured cells, enter the formula
in column E.
Copy down and sort on this column.
Regards,
Jan Karel Pieterse
Excel TA/MVP
>.
>
>.
>
Regards,
Peo Sjoblom
>.
>
BE VERY CAREFUL WITH THIS!
Using XLM functions in defined names in Excel 2000 & prior versions is
dangerous. If you define such a name, use it in a cell formula, copy that
cell and paste it into a cell in another worksheet, you WILL throw an
unrecoverable application error. Meaning Excel WILL crash without giving you
any chance to save your work. Apparently this has been fixed in Excel
2002/XP.
Now for some criticism. This is a useless use of OFFSET.
INDIRECT("RC[-1]",False) would be more efficient.
> BE VERY CAREFUL WITH THIS!
Thanks, I keep forgetting to add that.
> Now for some criticism. This is a useless use of OFFSET.
> INDIRECT("RC[-1]",False) would be more efficient.
Hey, I did not know that one!
Thanks.