Closed Thread
Results 1 to 6 of 6

No duplicated dates, put in same row.

  1. #1
    Registered User
    Join Date
    02-27-2013
    Location
    Koege, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    39

    No duplicated dates, put in same row.

    Hey.

    I wanīt excel to recognize when it sees the same date twice. For example:

    At the first page I have:

    22-04-2013
    22-04-2013
    23-04-2013
    24-04-2013
    25-04-2013
    25-04-2013

    At the second page, I want excel to make it look like this + sort them so that there are no spaces between them:

    22-04-2013
    23-04-2013
    24-04-2013
    25-04-2013

    Iīve tried this:

    "so you want to remove duplicates

    assuming first page in sheet1 A2:A400

    And result 2nd page to go into Sheet2 A2

    =INDEX(Sheet1!$A$2:$A$400, MATCH(0, COUNTIF($A1:A$1, Sheet1!$A$2:$A$400), 0))
    use
    Control + Shift + enter to change to an array formula so you get {}"

    Didnīt work.

    Any ideas?

    Thank you.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: No duplicated dates, put in same row.

    Formula works great!

    Do you confirm this as an ARRAY formula?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    02-27-2013
    Location
    Koege, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: No duplicated dates, put in same row.

    Dosnīt work. Also I have to convert it into danish version of excel. At the moment I get an error when I use that formular.

    Ok, Iīll try to explain it with exactly my data now:

    All in same sheet.

    A13:A3000 is the colum where the duplicated dates are.

    N13:N3000 is where I wanīt the results to be, without spaces between the removed duplicates.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: No duplicated dates, put in same row.

    Upload a small sample workbook,pls.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: No duplicated dates, put in same row.

    OK.....

    Don't waste our time posting dublicate threads. It's not kind at all!

    http://www.excelforum.com/excel-form...-in-a-row.html

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: No duplicated dates, put in same row.

    Thanks Fotis.

    Thread closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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