+ Reply to Thread
Results 1 to 5 of 5

Creating multiple records

  1. #1
    Registered User
    Join Date
    12-06-2012
    Location
    Richmond, CA
    MS-Off Ver
    Excel 2010
    Posts
    13

    Creating multiple records

    Hello

    I have an excel spread sheet with data and a number. I need a formula to repeat the data to the amount of the number and also one column counts. As an example

    WS Carrier Route Number
    C001 4
    C002 3
    C003 2

    Result

    WS Carrier Route Number
    1 C001 4
    2 C001 4
    3 C001 4
    4 C001 4
    1 C002 3
    2 C002 3
    3 C002 3
    1 C003 2
    2 C003 2

    I am not sure if this is possible. I am not an advanced user of Excel.
    Thanks for any help.

  2. #2
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: Creating multiple records

    Hello,

    Where do you want the new columns to appear? On another sheet?

  3. #3
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,176

    Re: Creating multiple records

    put this code in a module then run: ExtrapolateVals

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    12-06-2012
    Location
    Richmond, CA
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Creating multiple records

    Another sheet would be fine, it could also be on the original sheet in different columns.

  5. #5
    Valued Forum Contributor
    Join Date
    09-17-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    454

    Re: Creating multiple records

    Here's an 'ExpandData' subroutine. Change input and output range parameters as required.

    ExpandData.xlsm

    Please Login or Register  to view this content.

+ 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. Issue creating a summary sheet based on multiple records
    By KristofferA in forum Excel General
    Replies: 6
    Last Post: 02-10-2015, 09:53 AM
  2. Creating a list of records based upon the occurence of a value
    By gmt1975 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-07-2012, 01:52 PM
  3. Replies: 3
    Last Post: 02-22-2011, 09:22 PM
  4. [SOLVED] creating records without macro/VBA
    By bajdr47 in forum Excel General
    Replies: 1
    Last Post: 11-05-2009, 05:49 AM
  5. Creating a Custom Data Entry Form to Update Multiple Excel Records at Once
    By Scotty81 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-19-2009, 04:30 PM
  6. Merging records / creating new columns based on duplicate records
    By duklaprague in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-19-2007, 10:32 AM
  7. Replies: 0
    Last Post: 07-19-2007, 02:58 AM

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