Hi guys,
I have this situation: Let's say I have 35 blank cells in a row to be filled up with numbers. Whenever a set of numbers being filled up in the blank cells, excel will generate a new set of numbers derived from that first set input numbers in a new row below the first set with the criteria below :
1. Any 2 adjacent numbers in the row in the first set will be added together whenever that 2 numbers are lesser than 10.
2. Any 2 adjacent numbers in the first set with the value of more than 10 will remain as it's original value.
3. Any 2 adjacent numbers in the first set with the value of more than 10 and less than 10 will remain as it's original value.
Example 1:
First Set : 2,1,3,4,9,8,6,1,2,7,7,8,5,3,4,2,9,7,8,4,8,6,5,9,2,1,1,8,7,6,5,3,2,1,8
Result : 3,7,17,7,9,15,8,6,16,12,14,14,3,9,13,8,3,8
Example 2:
First Set : 12,21,34,45,19,86,76,11,42,75,17,68,15,13,47,23,29,66,87,14,18,16,53,93,22,12,21,48,17,16,15,13,21,11,18
Result : 12,21,34,45,19,86,76,11,42,75,17,68,15,13,47,23,29,66,87,14,18,16,53,93,22,12,21,48,17,16,15,13,21,11,18
Example 3:
First Set : 13,5,12,1,12,5,3,1,13,1,12,1,25,19,9,1,25,22,15,14,14,5,3,8,9,1,3,14,2,9,11,7,15,15,4
Result : 13,5,12,1,12,8,1,13,1,12,1,25,19,10,25,22,15,14,14,8,17,4,14,11,11,7,15,15,4
Really appreciate your help on this matter.
Bookmarks