+ Reply to Thread
Results 1 to 4 of 4

Create table x by y

  1. #1
    Registered User
    Join Date
    09-26-2015
    Location
    Boulder, CO
    MS-Off Ver
    Office 2013
    Posts
    2

    Create table x by y

    I need to create a table of x and y values that go from 0 to x and 0 to y given x, y, delta_x, and delta_y values. Is there an easy way to automate this either with a built in function or VBA?

    e.g.

    input: x=3, y=4, delta_x=delta_y=1
    output:
    __x
    y 0 1 2 3
    0
    1
    2
    3
    4

  2. #2
    Valued Forum Contributor
    Join Date
    08-07-2014
    Location
    Quito, Ecuador
    MS-Off Ver
    Excel 2016 & 365, Windows 10
    Posts
    511

    Re: Create table x by y

    Hi there

    Do you want to create "the table" ...(what goes inside?)
    or just the row and column titles? like this image

    Capture.JPG

  3. #3
    Registered User
    Join Date
    09-26-2015
    Location
    Boulder, CO
    MS-Off Ver
    Office 2013
    Posts
    2

    Re: Create table x by y

    Ultimately I would like to fill out the table as well.

    Like the attached image, extending the x and y dimensions to a given end value and filling the table with the atan formula.

    Capture.JPG

  4. #4
    Valued Forum Contributor
    Join Date
    08-07-2014
    Location
    Quito, Ecuador
    MS-Off Ver
    Excel 2016 & 365, Windows 10
    Posts
    511

    Re: Create table x by y

    try this code

    Please Login or Register  to view this content.
    Hope it helps you

+ 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. Replies: 2
    Last Post: 04-16-2013, 06:17 AM
  5. Replies: 0
    Last Post: 09-01-2011, 12:07 PM
  6. Create a new table from the main table when user press Enter button
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2010, 05:08 AM
  7. Replies: 3
    Last Post: 04-15-2009, 11:50 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