+ Reply to Thread
Results 1 to 4 of 4

How to duplicate a Row if a cell has some data?

  1. #1
    Registered User
    Join Date
    09-28-2010
    Location
    California, USA
    MS-Off Ver
    Excel 2007
    Posts
    86

    How to duplicate a Row if a cell has some data?

    Please see the attached file for some clarity.
    In column B is the primary City name for a zip code.
    Column D Might have some alternate city names for the same Zip.
    How to add another row, for each alternate city name,
    and make that added row Red text, like the "test12" worksheet.
    Thus, making the "test11" sheet look like the "test12" sheet.
    ?
    Thanks, in advance.
    Mark53
    Attached Files Attached Files

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: How to duplicate a Row if a cell has some data?

    I am sure that some magician create something more efficient but it works:

    Please Login or Register  to view this content.
    to run in test11.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Registered User
    Join Date
    09-28-2010
    Location
    California, USA
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: How to duplicate a Row if a cell has some data?

    MAGNIFICENT, Kokosec ! It works like a charm.
    Some other magically efficient solution?: not needed.
    Thanks Very Much ! I added.

  4. #4
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: How to duplicate a Row if a cell has some data?

    Happy to help.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.
    Thanks for rep.

+ 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. Avoid duplicate data. Block/advice me from entering duplicate data.
    By DANNYBOY0109 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 04-22-2019, 10:18 AM
  2. Avoid duplicate data. Block/advice me from entering duplicate data.
    By DANNYBOY0109 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-14-2019, 05:54 AM
  3. Replies: 8
    Last Post: 11-25-2013, 10:26 PM
  4. [SOLVED] Delete duplicate data column A and merge data in colum B into single cell
    By GAIMoore in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-19-2013, 04:17 PM
  5. [SOLVED] Locating Duplicate Cell Data with a Cell Counter and Highlight
    By garrett.grillo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-30-2012, 01:46 AM
  6. [SOLVED] Locating Duplicate Cell Data with a Cell Counter and Highlight
    By garrett.grillo in forum Excel General
    Replies: 1
    Last Post: 04-30-2012, 12:52 AM
  7. Combine data from one cell to another based on duplicate data in another cell
    By bzenker in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-15-2011, 01:09 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