+ Reply to Thread
Results 1 to 2 of 2

insert missing values in a sequence

  1. #1
    Registered User
    Join Date
    03-28-2014
    Location
    ottawa,canada
    MS-Off Ver
    Excel 2013
    Posts
    4

    insert missing values in a sequence

    Hi

    I am looking to insert a code which will add missing years to my sequence for the attached set of data. In my data I have 60 countries with variable data corresponding to years 1996, 1998, 2000, 2002, 2003, 2004, 2005, and 2006. I am looking for a code which will add blank rows for years 1980-1996 for each country and then for 1997, 1999, and 2001. So in the end I will have data for 60 countries and the years 1980-2006 for each country as well. Any help is greatly appreciated!

    thanks
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,879

    Re: insert missing values in a sequence

    Try such macro (not a speed one, but works, and you probably dont do this every 10 minutes

    Please Login or Register  to view this content.
    Best Regards,

    Kaper

+ 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. insert a blank row for a missing value of a repeated sequence
    By newexcel123 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-29-2014, 01:58 PM
  2. [SOLVED] Insert row when a row in the sequence is missing
    By mhelmers in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-29-2013, 10:58 AM
  3. [SOLVED] Insert missing rows into repeating number sequence
    By budgie300 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-12-2012, 06:17 PM
  4. Replies: 2
    Last Post: 11-15-2008, 03:06 PM
  5. [SOLVED] list missing values in a sequence
    By matt in forum Excel General
    Replies: 3
    Last Post: 09-12-2005, 02: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