Need Help With Formula or VBA/Macro

exccelinsurance

New Member
Joined
Oct 13, 2017
Messages
2
Here is my story:

I have many tabs, mostly irrelevant, and I am trying to create a workbook that has two parts - hence the tabs- input and output. In the input pages I am actually importing data from a CSV files that vary by rows, columns, and "table titles". I have tried using formulas and VBA codes to that will detect what cells have data, then transfer only the columns of data I want into my "ouput" page whether there is 5 rows of data or 25 rows, but not giving me any blank cells or 0s, if possible. Mostly I just need something that can copy the columns I want and know how many rows have data and transfer only those rather than using:

="Sheet1"A1 - etc

then filling down 20 rows just to be certain I have enough rows even though I may only use 2, or 5, or 15 because I will use this every time I have new data and each time the row changes.

Thank you!!
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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