Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 272161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T00:16:24+00:00 2026-05-12T00:16:24+00:00

Problem Statement: I’m creating a template for multi tiered complicated calculations in MS Excel

  • 0

Problem Statement:

I’m creating a template for multi tiered complicated calculations in MS Excel that depend on a few input “n x 3” matrices.

It is really difficult to redesign the 15 sheets or so (200 ~ 300 lines each) every time I have a different “n” where “n” ranges from 3 to 900.

Goals:

  • I’d like to input the number of “n” in a cell subsquently changing all the other sheets in the workbook accordingly.
  • Avoid VBA as much as possible

How can I achieve these goals?

Note: I’m willing to answer any questions or comments concerning my issue

EDIT
“n” represents the number of columns / rows, if n = 3, all calculations will be for a 3 x 3 matrix. If n = 500, all calculations will be for a 500 x 3 matrix.
I want Excel to do the expansions / contractions of the rows automatically, so i do’t have to do them myself accross hundreds of tables

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T00:16:24+00:00Added an answer on May 12, 2026 at 12:16 am

    In Excel 2007 turn your data matrices into tables.

    This can be done by clicking on a matrix and then on the Insert tab select Table. The keyboard shortcut for this functionality is Ctrl-L or Ctrl-T. Multiple tables can exist on the same worksheet.

    Once your data is marked as a table, the table will dynamically expand when new data is added.

    Each table is automatically given a name, starting with Table1. The name can be change via the Table tools – Design tab.

    In formulas each table can be referenced by it’s name.

    =SUM(Table1) 
    

    Each column heading in the table is also usable in formulas.

    =SUM(Table1[Column1])
    

    In versions of Excel prior to 2007, ‘Dynamic named ranges‘ can be used.

    These can be created via the Insert – Name – Define menu.

    Give the ‘Dynamic named range‘ a name (e.g. Table1) and enter a formula similar to the following assuming your matirx starts in cell A1:

    =OFFSET(Sheet1!$A$1,1,0,COUNTA(Sheet1!A:A)-1,3)
    

    If your matrix starts in cell D10 the formula would look like this

    =OFFSET(Sheet1!$D$10,1,0,COUNTA(Sheet1!D:D)-1,3)
    

    This formula excludes any column heading in the matrix. It selects data on a ‘n x 3’ basis.

    In formulas each ‘Dynamic named range‘ can be referenced by it’s name.

    =SUM(Table1) 
    

    You will need to review the layout of your worksheet as the dynamic named range works out it’s number of rows by counting all items that appear in the first column of data.
    If you have cells populated above and/or below your matrix they will be included in the calculation and the ‘Dynamic named range‘ will include rows below your data matrix.

    To see which cells are included in a ‘Dynamic named range‘ or table press F5 and type in it’s name, then click on OK.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 168k
  • Answers 168k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer There's no way to suppress that message with a switch… May 12, 2026 at 1:38 pm
  • Editorial Team
    Editorial Team added an answer Use earcar's suggestion (basename) to get the filename. BUT, if… May 12, 2026 at 1:38 pm
  • Editorial Team
    Editorial Team added an answer It would depend on what your entities are and what… May 12, 2026 at 1:38 pm

Related Questions

Problem Statement I'm writing a very basic WPF application to alter the contents of
Problem Statement: I'm creating a template for multi tiered complicated calculations in MS Excel
Problem Statement: I would like to create an offline database to lookup prices/info on
Here is my problem statement- I have an application in webapps of tomcat. I
I have a design and object structuring related question. Here is the problem statement:

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.