Copy data from a filtered table to another table in another sheet and resize the table to avoid spill error

OttoV

New Member
Joined
Jan 30, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi everyone, after much searching I found this forum. Really need your help.

I have a workbook consisting of two sheets.

Sheet 2 - data that comes from a filtered table. basically each cell has a formula that pulls values from another table. It could be 1 row, or it could be 100 rows depending on a cell value (client name) in Sheet 1.

Sheet 1 - has a table, lets call it Table1 that needs to pull all the values from sheet 2. However, below Table1 there needs to be additional data. I need Table1 to be resized depening on how many rows there are in Sheet 2 and then import that data into Table1. Otherwise I get a spill error.

Hoep there is enough information here to point me in the right direction.

thanks for all your help!
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
OttoV

Welcome to the board!

To get the best help it's preferred if you install the XL2BB plugin. This will allow you to copy your sheets directly into a comment. Asking members to recreate tables and experience is a tuff ask.

Couple of first steps:
Copy your filtered data
Find the last row of your table (assuming it's an excel table) add 1
Paste directly below it.
The table will auto resize itself
 
Upvote 0

Forum statistics

Threads
1,215,076
Messages
6,122,988
Members
449,093
Latest member
Mr Hughes

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top