+ Reply to Thread
Results 1 to 6 of 6

Copy text in column 2 from column 1. Repeat text is displayed once only vba

  1. #1
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Copy text in column 2 from column 1. Repeat text is displayed once only vba

    Hi,
    I am trying to achieve is as follows:

    VBA or not sure of a formula to make list in column 2 of items in column 1 ( however the item will be displayed only once. i.e. repeated items will be listed only once)
    How can I achieve it.
    Any help please
    Kind regards
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-25-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    434

    Re: Copy text in column 2 from column 1. Repeat text is displayed once only vba

    in cell B2
    Please Login or Register  to view this content.
    hold CTRL + SHIFT down and press enter while in edit mode of this cell

    you can then copy this cell and paste it down 19 rows

  3. #3
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: Copy text in column 2 from column 1. Repeat text is displayed once only vba

    Hi ThirtyTwo,
    Wow. Great work.
    I was trying formula, but was no where close to yours.
    I will now study your work
    Made my day
    Kind regards

  4. #4
    Forum Contributor
    Join Date
    01-25-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    434

    Re: Copy text in column 2 from column 1. Repeat text is displayed once only vba

    glad to help

    tbh, I'm not sure how this ARRAY method of creating formula works, i mean - why does pressing CTRL+SHIFT make a difference, and if it just adds {} to the formula, why can't we input those ourselves ?

    reason why I could respond so quickly is cos it's a commonly asked question - how to list unique values
    solution seems always to be the same, I've yet to come across another method

    Google seems to have recognise that it is a common issue and created a solution

    In this example you supplied -> https://docs.google.com/spreadsheets...HcymyJ2Uqme0js

    Google's solution is that you enter a formula into B2 --- =UNIQUE(A2:A19)
    you don't need to put anything in the cells bellow this, there's no copying and pasting of formula
    it will create a list of unique values from the range you specified and will update this list as changes are made to the source range

  5. #5
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: Copy text in column 2 from column 1. Repeat text is displayed once only vba

    Hi ThirtyTwo,
    Apology to re-open this.
    I am trying to modify the formula that will check records from A2:A4500 and then make a list in B2 of unique values.
    I did check using advanced filter but it is not working.
    Any help please
    Kind regards

  6. #6
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: Copy text in column 2 from column 1. Repeat text is displayed once only vba

    Hi again,
    My issue is that from A2 to A4500 I also have value as '0' and I dont want zeros to be counted.
    Index formula will also work.
    Please Login or Register  to view this content.
    Need help
    Kind regards

+ 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. Copy and Paste data in column A number of times displayed in column B
    By anthony232 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2013, 05:13 PM
  2. Replies: 8
    Last Post: 09-20-2013, 08:12 AM
  3. [SOLVED] Repeat text 3 times down column
    By Kellypeterson in forum Excel General
    Replies: 13
    Last Post: 09-05-2013, 04:33 AM
  4. [SOLVED] How I can print full text bigger than column, in repeat column
    By Prince in forum Excel General
    Replies: 0
    Last Post: 08-11-2005, 03:05 PM
  5. [SOLVED] in excel can one repeat the text from a the last used column cell.
    By Millard in forum Excel General
    Replies: 1
    Last Post: 03-18-2005, 03:06 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