+ Reply to Thread
Results 1 to 6 of 6

Create Duplicate Records Based on T+7 (Recurring Row Help)

  1. #1
    Registered User
    Join Date
    10-29-2020
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft 365
    Posts
    3

    Create Duplicate Records Based on T+7 (Recurring Row Help)

    Greetings!

    Apologies if this is an incredibly simple request, or has been covered before, but I have been scratching my head over this for the past 6 hours and am coming up incredibly short. I have a hunch this might require VBA but wanted to see if there might be a formula workaround for this as I see it in my head first.

    Essentially, I am working with a program that can only export data that has already been created in the system, but am trying to extrapolate the data that has occurred so we can use it for forecasting.

    Looking at my sample sheet, I would like to create duplicate records for every row, based on Column F, but with the caveat that the value in Column F is changed to that cell's date + 7 (to forecast for the following week).

    An ideal finished product would return a result for row 23 as:

    Keith Richards | Guitar | United Kingdom | Rock | High | 10/20/2020

    Not sure if this is strictly necessary information, but our system exports Excel files as 97-2003 files, but I am using Office 365.

    Thank you in advance!
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-12-2020
    Location
    Atlanta, Georgia
    MS-Off Ver
    Office 16
    Posts
    241

    Re: Create Duplicate Records Based on T+7 (Recurring Row Help)

    Take a look to see if this will work.

    Squeaky
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-29-2020
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft 365
    Posts
    3

    Re: Create Duplicate Records Based on T+7 (Recurring Row Help)

    Quote Originally Posted by Squeaky View Post
    Take a look to see if this will work.

    Squeaky
    That will work perfectly! Thank you for the prompt assistance, Squeaky! Will mark this bad boy solved,

    In the interest of full disclosure, I told my manager I was enlisting the assistance of an online forum, so I will not falsely take credit for your solution

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,740

    Re: Create Duplicate Records Based on T+7 (Recurring Row Help)

    Copy your headings from A1:F1 across into H1:M1, and then you can use this formula in H2:

    =INDEX(A:A,INT((ROWS($1:1)-1)/2)+2)

    Copy this across into I2:M2, and then you need to modify the formula in M2 to this:

    =INDEX(F:F,INT((ROWS($1:1)-1)/2)+2) + 7*(MOD(ROWS($1:1),2)=0)

    Then you can copy those formulae down as required.

    Your date column did not come in as proper dates on my system, so I would need a much more complicated formula to turn those into proper dates, but see if this works for you.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    10-29-2020
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft 365
    Posts
    3

    Re: Create Duplicate Records Based on T+7 (Recurring Row Help)

    Thanks for your reply as well, Pete! More than one way to skin a cat, I suppose!

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,740

    Re: Create Duplicate Records Based on T+7 (Recurring Row Help)

    Thanks for the rep. I thought you wanted the new records on alternate rows, but Squeaky's solution is much simpler. I think you could just add 7 onto his formula in F23 (i.e. =F2+7) rather than use the DATE function.

    Pete

+ 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. Recurring formula for new records
    By m.cain in forum Excel General
    Replies: 11
    Last Post: 10-05-2012, 10:16 AM
  2. Create new worksheet based of duplicate records
    By Qppg in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-17-2011, 05:42 PM
  3. Transposing Recurring List of Records
    By TXWildcard in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-11-2008, 04:15 PM
  4. Create new worksheet with duplicate records
    By tip in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 04-20-2008, 11:02 PM
  5. Create new worksheet based of duplicate records
    By andym9 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-20-2008, 11:01 AM
  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
  8. Replies: 1
    Last Post: 01-17-2007, 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