[TABLE="width: 398"]
<tbody>[TR]
[TD]I am trying to write a formula to calculate cost per foot (cell E13)
I want the total in cell E12 to be divided by cell C8 if it has data if not move to cell C9, do this through C11.
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Item[/TD]
[TD]Quantity[/TD]
[TD]Cost[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Corner post assembly[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]90[/TD]
[TD="align: right"]720[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]"H" assembly[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]56[/TD]
[TD="align: right"]560[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Wood line post[/TD]
[TD][/TD]
[TD="align: right"]21.88[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]T post[/TD]
[TD="align: right"]860[/TD]
[TD="align: right"]4.85[/TD]
[TD="align: right"]4171[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Fiberglass post[/TD]
[TD][/TD]
[TD="align: right"]7.28[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]3 Strand electric[/TD]
[TD][/TD]
[TD="align: right"]0.09[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]3 Strand Barbless[/TD]
[TD][/TD]
[TD="align: right"]0.16[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]4 Strand Barb[/TD]
[TD][/TD]
[TD="align: right"]0.21[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]5 Strand Barb[/TD]
[TD="align: right"]14000[/TD]
[TD="align: right"]0.26[/TD]
[TD="align: right"]3640[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 3"]Total cost of material:[/TD]
[TD="align: right"]9091[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 3"]Matrerial cost per ft:[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
<tbody>[TR]
[TD]I am trying to write a formula to calculate cost per foot (cell E13)
I want the total in cell E12 to be divided by cell C8 if it has data if not move to cell C9, do this through C11.
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Item[/TD]
[TD]Quantity[/TD]
[TD]Cost[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Corner post assembly[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]90[/TD]
[TD="align: right"]720[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]"H" assembly[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]56[/TD]
[TD="align: right"]560[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Wood line post[/TD]
[TD][/TD]
[TD="align: right"]21.88[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]T post[/TD]
[TD="align: right"]860[/TD]
[TD="align: right"]4.85[/TD]
[TD="align: right"]4171[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Fiberglass post[/TD]
[TD][/TD]
[TD="align: right"]7.28[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]3 Strand electric[/TD]
[TD][/TD]
[TD="align: right"]0.09[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]3 Strand Barbless[/TD]
[TD][/TD]
[TD="align: right"]0.16[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]4 Strand Barb[/TD]
[TD][/TD]
[TD="align: right"]0.21[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]5 Strand Barb[/TD]
[TD="align: right"]14000[/TD]
[TD="align: right"]0.26[/TD]
[TD="align: right"]3640[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 3"]Total cost of material:[/TD]
[TD="align: right"]9091[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 3"]Matrerial cost per ft:[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]