Excel 2010[TABLE="class: grid, width: 500"]
<colgroup><col><col><col></colgroup><tbody>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TD][/TD]
[TD]I[/TD]
[TD]J[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: right"]555.00[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: right"]6,666.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: right"]1,999.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD="align: right"]999.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]10[/TD]
[TD="align: right"]666.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]11[/TD]
[TD="align: right"]16,694.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]12[/TD]
[TD="align: right"]1,614.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]13[/TD]
[TD="align: right"]17,000.00[/TD]
[TD="align: right"]46,193.00[/TD]
[/TR]
[TR]
[TD="align: center"]14[/TD]
[TD="align: right"]2,000.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]15[/TD]
[TD="align: right"]4,444.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]16[/TD]
[TD="align: right"]6,666.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]17[/TD]
[TD="align: right"]9,000.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]18[/TD]
[TD="align: right"]7,000.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]19[/TD]
[TD="align: right"]10,000.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]20[/TD]
[TD="align: right"]5,000.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]21[/TD]
[TD="align: right"]3,000.00[/TD]
[TD="align: right"]47,110.00[/TD]
[/TR]
[TR]
[TD="align: center"]22[/TD]
[TD="align: right"]9,999.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]23[/TD]
[TD="align: right"]35,000.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]24[/TD]
[TD="align: right"]1,001.00[/TD]
[TD="align: right"]46,000.00[/TD]
[/TR]
</tbody>[/TABLE]
Sheet1
In J7 and copy down
Code:
=IF(AND(SUM($I$6:I7)-SUM($J$6:J6)>=46000,SUM($I$6:I7)-SUM($J$6:J6)<=48000),SUM($I$6:I7)-SUM($J$6:J6),IF(SUM($I$6:I7)-SUM($J$6:J6)>48000,"slabs add to over 48,000",""))