Inherited sheet - How do I make "total line" move dynamically

See this video which explains all in 30 seconds.

I have been given a sheet and asked if I can replicate the functionality.
Specifically, there is a total line in a sheet.  
When I drag the details lines to expand the range then the total also moves down.

The video explains it best.
How do I achieve this?
Patrick O'DeaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Roy CoxGroup Finance ManagerCommented:
It looks like a Table. Click into the last row and tab through the cells. It will create a new line with the Total Row below.  Select a cell in the Table then look in the Home Tab. If it is a Table then the Table Tools will be visible. If not choose Format as table

If not attach the WorkBook or look in the Tab.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Patrick O'DeaAuthor Commented:
Thanks Roy,

I just got it !

it is a table and the "Design" tab allows a total function which achieves this effect.
Roy CoxGroup Finance ManagerCommented:
Glad to help

You can change the Functions in the Total Row for SUM, COUNT etc. Click in the cell and a drop down appears
its just a table with  a total row
select some data in your sheet, and go to home tab and format as table, go to the last row and go to design tab and select TOTAL ROW
now yo0u can scroll/fill your values in last column and thats what you want
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.