+ Reply to Thread
Results 1 to 4 of 4

Developing a list from table

  1. #1
    Registered User
    Join Date
    05-26-2013
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    79

    Developing a list from table

    Hi All,

    Not sure if this is possible by formulas, maybe with a macro but I would prefer to use formulas. Essentially I have a day shift and night shift table/callendar for the month and I would like to create a list of all the combinations of Date, Shift, and Person, in chronological order.

    The example spread sheet shows the two tables and I have manually created the resulting list for the first 5 days of the month which I would like to be able to generate for the entire month. This process will be repeated often and thus I want to automate the process a bit. I have a feeling a macro is in need. If so dcould someone provide me with some example coding to get me started.

    List_Problem.xlsx

    Cheers in advance

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,257

    Re: Developing a list from table

    Hi Spicey,

    I've written a macro called CrossTabToTable that will convert what you have to what you want. See the 3 step sheets and let me know if it is good enough to do your problem.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    05-26-2013
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    79

    Re: Developing a list from table

    MarvinP,

    Top job mate, I was working on it myself and got as far as getting the data into a table similar to what you suggested, Looks like it will do just what I want. You have saved me hours! CHAMP. Works a charm. I have so many applications for this macro.

    Spicey

  4. #4
    Registered User
    Join Date
    05-26-2013
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    79

    Re: Developing a list from table

    I also like the idea of being able to select the number of fixed columns.

    Cheers

+ 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. Developing .CSV File
    By sctraffic in forum Excel General
    Replies: 2
    Last Post: 07-11-2014, 10:17 AM
  2. [SOLVED] Need help developing a pivot table
    By risten in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-26-2013, 08:29 PM
  3. Help Developing List of Conditions
    By chippy502 in forum Excel General
    Replies: 1
    Last Post: 09-06-2012, 02:39 PM
  4. Need Help in Developing Macros
    By djfifita in forum Excel General
    Replies: 3
    Last Post: 09-28-2011, 04:34 AM
  5. [SOLVED] 2 questions about developing.
    By Mike Archer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-13-2006, 09:15 AM

Tags for this Thread

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