Hello again,

I have a programming problem with Excel.
Let's say I have the following table which has four rows and six coloumns (Neglect the dots).

.....A ..B ..C ...D ...E ...F
1 ..35 .42 .48 .77 ........2
2 ..50 .60 .56 .87 ........0
3
4

I want to do the next: I want to check whether the number in cell F match number 2, Which in this case it does with row 1 only. Then if ok, I want to fill row number 3 with numbers in row 1 but with adding 2 to the first element less than 50 only.
In this case after solution the table must look like:

.....A ..B ..C ...D ...E ...F
1 ..35 .42 .48 .77 ........2
2 ..50 .60 .56 .87 ........0
3 ..35 .42 .50 .77
4 ..50 .60 .56 .87



Is there any formula I can use ?

Thanks in Advance