When you say "it's not working at all" - what exactly do you mean ?

We are I presume to accept that :

a) you have a Table called Table1

b) Table1 contains columns Run Ad and Total Inches

If as you say you can post a sample - please do so and outline which cell(s) we should be looking at & the expected results etc...