Hi ,
The formula which has been used is what is called an array formula ; to get such formulae to work correctly , they have to be entered not by copying and pasting or by typing and pressing the ENTER or cursor movement keys ; they need to be entered by using the key combination of CTRL SHIFT ENTER.
Doing this will convert the formula into an array formula , and Excel will display the curly braces { and } around the formula in the formula bar.
When you copy and paste such formulae , what you need to do is , after the formula has been pasted , press the F2 key to switch to EDIT mode , and then press the key combination of CTRL SHIFT ENTER.
Narayan