unique filter

i just import some dates and would like to perform a unique filter on the dates by month and then by year .
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If you are looking for a formula, this will do it
for first one


and for second one,



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ok first of all you need here an Array formula which is a formula that is represented by { .... } and this is achieved when the formula is in the cell to save it you press CTRL SHIFT then while holding then you press ENTER.

Second we cannot get the formula directly from Column A and D as already these columns although shows a Year and Month Year they are in fact a formatted cell underneath which the real value is a date. So if we apply on these 2 columns a formula to get unique values we will get the unique 'date values' that are not necessary what your looking for we will get several 2012 ..... several 2013 etc... which presume this is not what you want.

In order to achieve what you want we need to create real values and not formatted values on which we will apply the unique formula. I have created in the attached file real values of Column A and D which are in Column F and G in Yellow. As you can see now the values are not date but text.

Now in Column I and J respectively in Row1  we put the following formula

Cell I1 put this formula:
then Press on CTRL and SHIFT and while pressing on them click on ENTER you will then see that the formula has 2 brackets. Now drag this formula down until you get Zeroes.

Cell J1 put this formula:
then Press on CTRL and SHIFT and while pressing on them click on ENTER you will then see that the formula has 2 brackets. Now drag this formula down until you get Zeroes.

Pls check the attach file.

BTW, my formulas to be entered in O7 and Q7 respectively. Adjust the O6 and the Q6 part if you want to put this formulas in different cells. Also it's an array formula. Entered with CTRL+SHIFT+ENTER

Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

Hakan YılmazTechnical Office MEP EngineerCommented:
If you just want to see what unique values in a list; you can use "Remove Duplicates" in the "Data" tab.

You may look here for more information about filtering unique values or removing duplicate values.
Hakan YılmazTechnical Office MEP EngineerCommented:
For your case, you can use TEXT function to get the same formatting of a value as text.
After that you can paste values to get all your formatted values as text.
Then you can remove duplicate values or filter unique values to another place.

1 - Get your format string from format cells dialog.
Cell format string2 - Use TEXT function to get your values as text.
TEXT function3 - Copy and Paste as Values

4 - Advanced filter to get unique values.
Martin LissOlder than dirtCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.