The entire formula is a single formula which is supposed to go into B2.
Try copy and paste directly into B2's *formula bar*...
A bit more clarification. After you copy from the post and paste into the
formula bar, you would probably need to clean up/correct the line breaks in
the formula before pressing ENTER to confirm the formula. The line breaks
should appear fairly obvious.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---