+ Reply to Thread
Results 1 to 6 of 6

auto fill B Column with content on A Column, sort, and no duplicate

  1. #1
    Registered User
    Join Date
    07-15-2013
    Location
    jakarta
    MS-Off Ver
    2007
    Posts
    95

    auto fill B Column with content on A Column, sort, and no duplicate

    Hi, I need help.

    I need a formula to auto fill B Column with content on A Column, but I don't want to write the multiple again, just once and I need it to automatically sorted.

    Please help.
    Thank you

    Data List
    Cat Cat
    Dog Dog
    Cat Elephant
    Cat Horse
    Dog
    Elephant
    Horse
    Horse
    Elephant
    Last edited by eing; 02-18-2016 at 12:08 AM.

  2. #2
    Forum Contributor
    Join Date
    10-29-2014
    Location
    udaipur, rajasthan
    MS-Off Ver
    2007
    Posts
    352

    Re: auto fill B Column with content on A Column, sort, and no duplicate

    hi,

    Please find the attached sheet for your solution, there is a arry formula.

    i have written formula in column "C" if you want this in column B just edit that formula..

    in B2

    =INDEX($A$2:$A$20, MATCH(0, COUNTIF($B$1:B1, $A$2:$A$20), 0))
    Attached Files Attached Files
    Last edited by udprocks; 02-18-2016 at 01:34 AM.
    If answer helped you say Thanks by Add Reputation

  3. #3
    Registered User
    Join Date
    07-15-2013
    Location
    jakarta
    MS-Off Ver
    2007
    Posts
    95

    Re: auto fill B Column with content on A Column, sort, and no duplicate

    Hi, thanks for your help.

    The formulas are working good, but there's some problem with the sorting.
    I just realize that I need it sorted alphabetically.
    I'm sorry for not being specific.
    Thank you.

  4. #4
    Forum Contributor
    Join Date
    10-29-2014
    Location
    udaipur, rajasthan
    MS-Off Ver
    2007
    Posts
    352

    Re: auto fill B Column with content on A Column, sort, and no duplicate

    Hi,

    Please find the attached file for same, in this file there is "Name range" created for see and edit range.

    Press "CTRL+F3" and u can edit your list as long as your data.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-15-2013
    Location
    jakarta
    MS-Off Ver
    2007
    Posts
    95

    Re: auto fill B Column with content on A Column, sort, and no duplicate

    wow, thank you..
    I never thought it would be so complicated with the formula.
    But I have no experience with any array formula.
    can you teach me how to edit it so I could use it for a larger range of list or other workbook..?
    And one more thing, I need to use this formula as a part of template. But when I try to erase one of the content cell, the entire formula turned to #NA. I hope it would be working with the blank cell too.
    Can you make it perfect?

    Thanks for your help anyway.
    I really appreciate it.

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: auto fill B Column with content on A Column, sort, and no duplicate

    If you use column B and enter this formula in B2 and fill down, you will get a series of values that in effect is the order of the list in column A.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In column C enter this formula in C2 and fill down to retrieve the unique values in column A in order
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. finding duplicate content within a column
    By Excel_help in forum Excel General
    Replies: 7
    Last Post: 01-20-2015, 06:13 AM
  2. Auto Fill Todays Date In Column K in Last Value Found in Column A
    By trevor2524 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-18-2013, 02:42 PM
  3. Replies: 0
    Last Post: 08-10-2012, 12:55 PM
  4. [SOLVED] Column A as the name of txt file and B for content but A as duplicate value.
    By JPGraphX in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 08-07-2012, 01:50 PM
  5. Auto fill up column and protect the column
    By drpkrupa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-28-2008, 05:02 PM
  6. [SOLVED] Auto Fill Column with Date based on rows in other column
    By JOUIOUI in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2006, 01:35 PM
  7. Identifying duplicate content in column
    By excelstart in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-09-2006, 06:30 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