kamoorthy,
Maybe try.....
Excel 2007
| B | C | D | E | F | G |
---|
2 | Overs | 3 | 4 | 1 | 5 | 6 |
3 | Runs | 10 | 100 | 7 | 123 | 56 |
4 | Wickets | 2 | 4 | 2 | 4 | 4 |
5 | | | | | | |
6 | | | | | | |
7 | 4-56 | | | | | |
<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
SD
Array Formulas
Cell | Formula |
---|
B7 | {=MAX(SD!C4:MM4)&"-"&MIN(IF(SD!C4:MM4=MAX(SD!C4:MM4),1,9^4)*(IF(SD!C4:MM4+C3:MM3=0,9^4,SD!C3:MM3)))} |
---|
<thead>
</thead><tbody>
</tbody> Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself |
<tbody>
</tbody>
Hope that helps.
Hello,
Thanks for your time. It works good for the first cell
1. {=MAX(SD!C4:MM4)&"-"&MIN(IF(SD!C4:MM4=MAX(SD!C4:MM4),1,9^4)*(IF(SD!C4:MM4+SD!C3:MM3=0,9^4,SD!C3:MM3)))}
2. {=MAX(SD!C5:MM5)&"-"&MIN(IF(SD!C5:MM5=MAX(SD!C5:MM5),1,9^4)*(IF(SD!C5:MM5+SD!C4:MM4=0,9^4,SD!C4:MM4)))}
3. {=MAX(SD!C6:MM6)&"-"&MIN(IF(SD!C6:MM6=MAX(SD!C6:MM6),1,9^4)*(IF(SD!C6:MM6+SD!C5:MM5=0,9^4,SD!C5:MM5)))}
FOr each cell, the formula looks like above. But i need to increment 4 cells automatically. After C4 i want to check with C8, then C12 and so on.
Please let me know, if i am missing anything