I get an export out of our scheduling system and need to aggregate the raw materials needed. I need a formula that, when "1" or blank is shown, it will give the next value above that is not a "1" or blank
See below for my data set and what is needed
How my data exports Column I need to create with a formula
[TABLE="width: 500"]
<tbody>[TR]
[TD]How my Data exports[/TD]
[TD]Column I need to create with Formula[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]E[/TD]
[/TR]
</tbody>[/TABLE]
See below for my data set and what is needed
How my data exports Column I need to create with a formula
[TABLE="width: 500"]
<tbody>[TR]
[TD]How my Data exports[/TD]
[TD]Column I need to create with Formula[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]E[/TD]
[/TR]
</tbody>[/TABLE]