Sum of a row until it's >= 0.5 then start over again

tekwiN

New Member
Joined
Nov 24, 2016
Messages
2
Hi there,

I'm looking to get the sum of a row until it's >= 0.5 then have it start over again. For values that are already >= 0.5 I'd like to have the value rounded up. I've provided an example below. I'm hoping to get the output in the last 7 columns.
D1
D2
D3
D4
D5
D6
D7
D1'
D2'
D3'
D4'
D5'
D6'
D7'
0.142857
0.142857
0.142857
0.142857
0.142857
0.142857
0.142857
1
0.285714
0.285714
0.285714
0.285714
0.285714
0.285714
0.285714
1
1
1
0.714286
0.714286
0.714286
0.714286
0.714286
0.714286
0.714286
1
1
1
1
1
1
1
2.571429
2.571429
2.571429
2.571429
2.571429
2.571429
2.571429
3
3
3
3
3
3
3

<tbody>
</tbody>

Thanks in advance.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Sorry I can't edit my post but I forgot to mention that I wanted 0s in the blank cells as well.

D1D2D3D4D5D6D7D1'D2'D3'D4'D5'D6'D7'
0.1428570.1428570.1428570.1428570.1428570.1428570.1428570001000
0.2857140.2857140.2857140.2857140.2857140.2857140.2857140101010
0.7142860.7142860.7142860.7142860.7142860.7142860.7142861111111
2.5714292.5714292.5714292.5714292.5714292.5714292.5714293333333


<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,928
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top