LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default How to create a list of unique dates?

Hi Eric:

In B1 thru B10:

14-Jun
14-Jun
17-Jun
15-Jun
23-Jun
16-Jun
26-Jun
17-Jun
5-Jul
19-Jun

In A1 put a 1
In A2 put:

=IF(COUNTIF($B$1:B2,B2)1,"",ROW()) and copy down to see:

1 14-Jun
14-Jun
3 17-Jun
4 15-Jun
5 23-Jun
6 16-Jun
7 26-Jun
17-Jun
9 5-Jul
10 19-Jun

notice duplicates have blanks in col A

in C1 put:

=VLOOKUP(SMALL(A$1:A$10,ROW()),$A$1:$B$10,2) and copy down to see:

1 14-Jun 14-Jun
14-Jun 17-Jun
3 17-Jun 15-Jun
4 15-Jun 23-Jun
5 23-Jun 16-Jun
6 16-Jun 26-Jun
7 26-Jun 5-Jul
17-Jun 19-Jun
9 5-Jul
10 19-Jun

All items in C are unique. This technique will work with dates, numbers,
words, etc.
--
Gary''s Student - gsnu200729


"Eric" wrote:

[List of dates]
14-Jun,14-Jun,17-Jun,15-Jun,23-Jun,16-Jun,26-Jun,17-Jun,05-Jul,19-Jun

There is a list of dates under column A, does anyone have any suggestion on
how to create a list of unique dates as show below? but I don't want to use
Data, Filter, Advanced Filter. Does anyone have any suggestions?
Thank for any suggestions
Eric

[Unique dates]
14-Jun,15-Jun,16-Jun,17-Jun,19-Jun,23-Jun,26-Jun,05-Jul




 
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
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
Charting count of unique dates in a list [email protected] Charts and Charting in Excel 11 June 6th 06 02:31 PM
create a filled in calendar from list of dates and notes DianneMD Excel Discussion (Misc queries) 0 March 16th 06 09:44 PM
Count unique values and create list based on these values vipa2000 Excel Worksheet Functions 7 August 5th 05 01:17 AM
create list of unique values from a column with repeated values? Chad Schaben Excel Worksheet Functions 1 July 8th 05 10:25 PM


All times are GMT +1. The time now is 06:35 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"