Using Power Query/VBA to input data from another workbook automatically?

BAQI

New Member
Joined
Dec 2, 2022
Messages
40
Office Version
  1. 2016
Platform
  1. Windows
I want to use Power Query so that it automatically adds/deletes rows based on the information in another workbook.

Example:

In the reference workbook, I fill out information, with very little formatting (picture 1). The display workbook (picture 2) takes the data from the reference workbook, and adds/deletes rows automatically based on some data.

If a cell in column A on the reference workbook is not blank, then add that entire row to the display workbook. If the cells in column A & D of a single row are both blank, then don't add that row's data to the display book. Another thing I want to do is to add borders/tables to the display workbook. In this example, I want rows 2-8 to be outlined for the rows that meet the requirements above. 9-14, 15-18, 19-23, 24+ in this example. So the final look is picture 2.

Is it possible to automatically update the display workbook every 5 minutes, too?

Thanks!
 

Attachments

  • 1.png
    1.png
    20.6 KB · Views: 10
  • 2.png
    2.png
    12.9 KB · Views: 9

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,223,248
Messages
6,171,027
Members
452,374
Latest member
keccles

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