Auto-sum a range

  • Thread starter Thread starter James
  • Start date Start date
J

James

i know that Excel will not assume that a new column at the edge of a range
is to be added into the range to be summed. is there anyway to work around
this?
i want to sum A1-G1 and have the total in H1. however, i may need to insert
a column after G1. and have that new column (which would now be H1) added to
the total. any ideas?
 
Try this in H1:

=SUM(OFFSET(INDIRECT("RC",0),,-1,,-COLUMN()+1))

HTH
Jason
Atlanta, GA
 
this worked great once i figured out to hit CTRL-ENTER after pasting this
into the spreadsheet!
thanks guys... AGAIN!
;-)
 

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

Back
Top