+ Reply to Thread
Results 1 to 13 of 13

Row Duplication based on Cell <>"" in Clumn +1 = TRUE

  1. #1
    Registered User
    Join Date
    09-22-2011
    Location
    san diego
    MS-Off Ver
    Excel 2013
    Posts
    76

    Row Duplication based on Cell <>"" in Clumn +1 = TRUE

    Attached picture much better description than I can write. Looking to get data into a pivot friendly format via a vba loop. I don't have much experience with writing loops. Many thanks in advance!

    2018-01-22 09_08_45-Example.xlsx - Saved.png

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Row Duplication based on Cell <>"" in Clumn +1 = TRUE

    Try this for Results starting "A2".
    Please Login or Register  to view this content.
    Regards Mick

  3. #3
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Row Duplication based on Cell <>"" in Clumn +1 = TRUE

    Other way

    Please Login or Register  to view this content.
    Kind regards
    Leo

  4. #4
    Forum Expert
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,397

    Re: Row Duplication based on Cell <>"" in Clumn +1 = TRUE

    I am sorri to distrub how if i want save this treats to my favorit or to my list thank

  5. #5
    Registered User
    Join Date
    09-22-2011
    Location
    san diego
    MS-Off Ver
    Excel 2013
    Posts
    76

    Re: Row Duplication based on Cell <>"" in Clumn +1 = TRUE

    AWESOME thank you both a TON!

  6. #6
    Registered User
    Join Date
    09-22-2011
    Location
    san diego
    MS-Off Ver
    Excel 2013
    Posts
    76

    Re: Row Duplication based on Cell <>"" in Clumn +1 = TRUE

    Sorry about bringing this back, I thought I had it , but i'm getting a type mismatch error highlighting
    Please Login or Register  to view this content.
    when trying to run Leo's code. I'm sure it's my bad...the values in the target columns are text fields

  7. #7
    Registered User
    Join Date
    09-22-2011
    Location
    san diego
    MS-Off Ver
    Excel 2013
    Posts
    76

    Re: Row Duplication based on Cell <>"" in Clumn +1 = TRUE

    Looks like both are set up for integers. MickG, I would love to understand how Ray works. Looks awesome. and I can't find any definitions for it online

  8. #8
    Forum Expert
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,397

    Re: Row Duplication based on Cell <>"" in Clumn +1 = TRUE

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    09-22-2011
    Location
    san diego
    MS-Off Ver
    Excel 2013
    Posts
    76

    Re: Row Duplication based on Cell <>"" in Clumn +1 = TRUE

    Quote Originally Posted by daboho View Post
    Please Login or Register  to view this content.
    Still getting a type mismatch

  10. #10
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Row Duplication based on Cell <>"" in Clumn +1 = TRUE

    without file we only can guess

    Kind regards
    Leo

  11. #11
    Registered User
    Join Date
    09-22-2011
    Location
    san diego
    MS-Off Ver
    Excel 2013
    Posts
    76

    Re: Row Duplication based on Cell <>"" in Clumn +1 = TRUE

    Quote Originally Posted by LeoTaxi View Post
    without file we only can guess

    Kind regards
    Leo
    Sorry about that. The attachment is exactly the data types and structure of the real. Stuff without headers extends out anywhere from a single column to column cc and rows continue down for several thousand.

    Thanks so much in advance, sorry about bad presentation of the situation.
    Attached Files Attached Files

  12. #12
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Row Duplication based on Cell <>"" in Clumn +1 = TRUE

    Try

    Please Login or Register  to view this content.
    Kind regards
    Leo
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    09-22-2011
    Location
    san diego
    MS-Off Ver
    Excel 2013
    Posts
    76

    Re: Row Duplication based on Cell <>"" in Clumn +1 = TRUE

    That worked great! Thank you. Only thing that i needed to do was separate all rows that only have one target (again my bad, bad example file) and then it worked like a charm!

+ 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. "Fun times in no mans land" Translation - "Selective Duplication"
    By amonty87 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-09-2013, 03:21 AM
  2. Replies: 6
    Last Post: 09-25-2013, 01:51 PM
  3. [SOLVED] Test for blank cell should be "True" but "False" action is taken.
    By Aceso in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 02-09-2013, 05:47 PM
  4. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  5. Replies: 7
    Last Post: 05-13-2006, 05:02 PM
  6. If "text" exist within "cell" then TRUE
    By JemyM in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 09-16-2005, 07:41 PM
  7. [SOLVED] IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE")
    By Souris in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-17-2005, 01:05 AM
  8. [SOLVED] set "value if true" to "fill cell with color"
    By Feeta in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-23-2005, 04:05 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