Adding columns

J

John M

using cell A1 for example:( where total will appear )
each time I put info into any cell below a1 i would like a1 to add1
so if I were to have info in the first 12 cells below, ai should read 12 and
add 1 each time I add data to that column
 
D

Domenic

=SUMPRODUCT((A2:A100<>"")*1)

or

=SUM(IF(A2:A100<>"",1,0))
entered using CTRL+SHIFT+ENTER

Hope this helps!
 
J

John M

Thanks Domenic,,,,your a life saver

Domenic said:
=SUMPRODUCT((A2:A100<>"")*1)

or

=SUM(IF(A2:A100<>"",1,0))
entered using CTRL+SHIFT+ENTER

Hope this helps!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top