Dynamically add rows and columns and keep manual data

OGRZ

New Member
Joined
May 7, 2022
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
Hi all,

As recommended in another post, I converted my macros into a table-based Excel which includes queries. I am now facing a issue that I hope somebody can help with.
I am trying to create a table that has both columns and rows dynamically updated. I managed to do this, but the content of this table needs to be a manual input depending on the case.

The section on the left (with green headers) is a normal Excel table, and the one on the right is a query. So I have my rows that correspond to different people, and the columns that represent different salary types. These types can be updated in a separate tab, and are extended to as many columns as registers exist in that other table. This is currently working fine. Rows are also updated as per the number of rows I add.

Whenever I add the manual data in the pink area and refresh, the manual data is gone. Is there any way to solve this issue or any other ideas how I could do it?


Thanks!
 

Attachments

  • image001.jpg
    image001.jpg
    65.6 KB · Views: 26

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,224,813
Messages
6,181,107
Members
453,021
Latest member
Justyna P

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