Create a table from a bigger table automatically

tanmayvg

New Member
Joined
Nov 26, 2017
Messages
5
Hi,
I am new to this forum. I want to know if there is a macro or any method available to create a small table with required rows and columns and formatting from a bigger table which will be a superset of the smaller table automatically.
For example,
I have a table with data as follows
A B C D E
a1 b1 c1 d1 e1
a2 b2 c2 d2 e2
a3 b3 c3 d3 e3

Now I want a table only with the following data (Columns) with a fixed formatting as below
Title
A B D
a1 b1 d1
a2 b2 d2
a3 b3 d3
Title should have a dark box border, the capital letters should have a double border and the small letters should have a single thin line border.. Currently I need to do this manually with each set of data i.e. applying borders, adjusting row heights for font size etc. is it possible to automate this?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Smitty

Legend
Joined
May 15, 2003
Messages
29,536
Welcome to the Board!

Have you tried a PivotTable?

It's perfect for what you need. As you add or remove data from your data set, you just refresh the PivotTable to update it. No automation required.

HTH
 

Watch MrExcel Video

Forum statistics

Threads
1,130,117
Messages
5,640,203
Members
417,131
Latest member
Seanr19871

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