#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 244
Default Sort list

Hi! I have a long list of dates and corresponding values to each date. The
problem is that sometimes there are multiple occurences of a single date. The
list is sorted by date. I want to create a new list based on the old one but
where I have only the first occurence of a date. How can I do this using
worksheetfunctions or a macro? I tried =if(A9=A8;A10;A9) but the problem is
that there can be many repetitions of a single date ie I does not work to use
many if(..if(..)) etc. Please help! Thanks alot in advance!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default Sort list

Hi Arne

If you mark just the column of dates then use
DataFilterAdvanced Filterclick unique values onlyCopy to New
LocationSheet2!A1
you will get a filtered list with no repeats of date.

--
Regards

Roger Govier


"Arne Hegefors" wrote in
message ...
Hi! I have a long list of dates and corresponding values to each date.
The
problem is that sometimes there are multiple occurences of a single
date. The
list is sorted by date. I want to create a new list based on the old
one but
where I have only the first occurence of a date. How can I do this
using
worksheetfunctions or a macro? I tried =if(A9=A8;A10;A9) but the
problem is
that there can be many repetitions of a single date ie I does not work
to use
many if(..if(..)) etc. Please help! Thanks alot in advance!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
When I sort a list, How can I keep blank rows between the fields? Erin Excel Discussion (Misc queries) 4 July 26th 06 04:29 PM
When I sort a list, How can I keep blank rows between the fields? Erin Excel Discussion (Misc queries) 1 July 26th 06 01:47 PM
Sort a list with uneven row information newexceluser Excel Worksheet Functions 1 February 23rd 06 03:32 AM
Sort with a List Ray A Excel Worksheet Functions 0 September 7th 05 01:06 AM
How do I sort a list of dates in Excel by month and day? Caroline Excel Discussion (Misc queries) 3 June 10th 05 11:58 PM


All times are GMT +1. The time now is 07:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"