Formula to get sum of imported data range

Hi experts,

I have a file that has 2 tabs. Every week, I add a block of data into the tab labeled "importedData" by pasting the data for the respective days in the bottom rows. After that I need to add the sum of the new data in the "Summary" tab. I have been manually updating the formulas but I'm sure there's a more efficient/dynamic way to update the data.
My question: Is there a way to automatically update the data in the Summary tab as soon as I add data block in the bottom rows of the importedData tab. If you look at the file attached, my request will make more sense.
Tj aAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Michael FowlerSolutions ConsultantCommented:
There a couple of ways to create a dynamic range. This tutorial shows you how to use a named range to achieve this goal

This MS guide describes how to do this using just a formula

What both of these are going is using the OFFSET and COUNTA functions to determine the size of the range at runtime rather than hardcoding it.
If you're familiar with or interested in PivotTables, you could...
Format your 'importedData' as a table: on 'importedData' sheet, select cells A1:D22 then Insert / Table (or Ctrl+T). Tell Excel 'My table has headers' and click OK.
Add a helper column to your data table to translate the date into a week using the WEEKNUM function.
Summarize the data as a pivot table: select your new table and Insert / PivotTable. (I'm attaching a file for reference)

Then when you paste weekly data into the rows below your existing table, the table formatting will automatically expand to include the new data. Go to your pivot table and right click / refresh. The pivot table will pull in your new week's data into the summary.

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
Tj aAuthor Commented:
Thank you both. Both options were good. I'll go with the pivot option though. I don't know why I didn't think of that before.
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.