FILTER UNIQUE FUNCTION

datastudent

New Member
Joined
Sep 7, 2021
Messages
49
Office Version
  1. 365
Platform
  1. Windows
Hi,

How can I filter months accordingly with unique function?

Income & Expense Tracker.xlsx
ABC
1
2February
3March
4April
5January
6
Sheet1
Cell Formulas
RangeFormula
B2:B6B2=UNIQUE(TRANSACTIONS[MONTH])
Dynamic array formulas.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
You mean sort them, rather than filter?
If so how about
Fluff.xlsm
AB
1
2FebruaryJanuary
3MarchFebruary
4AprilMarch
5JanuaryApril
Sheet5
Cell Formulas
RangeFormula
B2:B5B2=LET(u,UNIQUE(A2:A5),SORTBY(u,MONTH("1/"&u)))
Dynamic array formulas.
 
Upvote 1
Solution
That is because your current entries are just "Text", and will be sorted in alphabetic order, like all text is.

If you want it to be sorted in date order, you would need to enter valid dates., so it can sort in date order.
For example, you could enter a valid date of 1/1/2024 (in the US) or 2024/1/1 (in Europe), and then format that cell as "mmmm" to get it to show "January".
Then it would be stored as a valid date, and show as "January", and sort the way you want.

Or you can do something like Fluff showed above.
 
Upvote 0

Forum statistics

Threads
1,215,331
Messages
6,124,311
Members
449,152
Latest member
PressEscape

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top