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

  • Home
  • SEARCH
  • 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 9246221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:26:42+00:00 2026-06-18T09:26:42+00:00

I have a table1 in one sheet that is feeded through a SQL Command,

  • 0

I have a table1 in one sheet that is feeded through a SQL Command, i have another table2 in another sheet that makes references to table1. I need table2 to resize the number of rows according to table1, how can i do that (Hopefully without VBA)?

Table2 is a table which has a calculated column and then every other column are table1 columns.

My references in table2 are like this:

calc(table1[column1]) table1[column1] table1[column2] ....

Note: I have tried using @ in the column reference but it did not work.

  • 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-06-18T09:26:44+00:00Added an answer on June 18, 2026 at 9:26 am

    I resolved it using VBA, so until anyone posts here a VBAless solution here is what you need to do:

    1. Create a named range which we will call range1 on the formulas menu -> name manager

      =OFFSET(‘table2’!$A$1,0,0,ROWS(table1[#All]),COLUMNS(table2[#All]))

    2. Go to VBA and create the following sub:

      Sub ResizeMyTable()
      
          ThisWorkbook.Sheets("sheet2").ListObjects("table2").Resize [range1]
      
      End Sub
      

    The following logic is up to you, i created a button and did a call ResizeMyTable to update the table.

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

Sidebar

Related Questions

I have created one table using the below command: create table Table1( Id int
I have a need to copy a worksheet from one workbook into another and
Hi I have table in one td i have text and in another td
I have one table which contains events and dates, and another which contains the
I have a Google Spreadsheet with 2 sheets. Table1 and Table2. Table 1 looks
I have a excel table with 1 sheet. That sheet has headers in row
I have another puzzling problem. I need to read .xls files with RODBC. Basically
I have an excel sheet,which has 144 coulms-(4 columns contains one set).i.e 36 sets
I have a code pattern which translates one integer to another. Just like this:
I am have a bit of an issue that I need some pointers on

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.