+ Reply to Thread
Results 1 to 6 of 6

Macro to Create Table

  1. #1
    Forum Contributor
    Join Date
    11-17-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    365

    Macro to Create Table

    Hi,
    I have sheet "Data". based on the records in sheet "Data", Need to insert figure in table in sheet "Result"

    Table format to be same as given in sheet "Result".

    Most important is The age band will change data to data

    for e.g. 0-18, 19-25 etc.

    Also income band also will change data to data

    For eg 2,00,000 or 25,00,000 etc.

    The number of rows and columns deleted or added accordingly.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    11-17-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    365

    Re: Macro to Create Table

    can any one help me on this?

  3. #3
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Macro to Create Table

    You could use some sumproducts instead of a macro if you set your tables and data properly, instead of VBA.
    Click the * to say thanks.

  4. #4
    Forum Contributor
    Join Date
    11-17-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    365

    Re: Macro to Create Table

    My data is Dynamic. It Will change from time to time.
    Firlds like band and income band will change. Hence need VBA

  5. #5
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Macro to Create Table

    If is dynamic, then use pivot tables instead of formulas. See attached.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    11-17-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    365

    Re: Macro to Create Table

    I have so many similar sheets. Hence I want a macro to the dask.

    The range differs every time in every sheet.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to create a dynamic macro that will create pivot table
    By thlee1122 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-08-2015, 11:49 PM
  2. How to create a macro to create a pivot table on a new sheet
    By thlee1122 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2015, 11:14 AM
  3. Create a macro to create a pivot table in a worksheet
    By Triscia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-15-2015, 10:53 AM
  4. Macro to create a new table
    By gcraf340 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2014, 09:58 AM
  5. Anyone has a macro to create a table?
    By dada540 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-24-2009, 01:43 PM
  6. Replies: 3
    Last Post: 04-15-2009, 11:50 PM
  7. [SOLVED] Macro to Create Table
    By Giovanna in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-31-2005, 01:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1