Macro Copy from 2 tables in another one

anpak

New Member
Joined
Oct 19, 2021
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Hello,

we have the situation described below:

Sheet 1 (input table):
  • Two tables, the first starts from A1, the second starts from E1
  • In both of those tables the number of rows is variable
1635242954424.png
1635242957659.png


Sheet 2 (output table):
  • One table that start from A1
  • We would like to copy in this output table the cells highlighted in yellow of the two tables in the Sheet 1
  • The copy in the output table have to start from the first empty cell
  • When the Item is empty, the script must skip that row
1635242864803.png


Is it possible by creating a macro?

Regards,
Antonio
 

Attachments

  • 1635242726209.png
    1635242726209.png
    7.3 KB · Views: 2

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

anpak

New Member
Joined
Oct 19, 2021
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Hello...someone can help me with this request please?

Regards,
Antonio
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,151,837
Messages
5,766,721
Members
425,373
Latest member
ndiejennrrd

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
Top