Grouping weekdays in a column sort
Grouping weekdays in a column sort
I am trying to sort a two column sheet by grouping days of the week. Column A is dates and Column B contains prices. I would like to group first all prices for Mondays, followed by Tuesdays, etc. The ascending /descending sort feature only will sort by date. It will not allow me to group or alphabetize the words in the Weekdays of my date formatting.
OpenOffice 3.3.0 Windows XP
Re: Grouping weekdays in a column sort
You can add a third that uses the WEEKDAY() function like this
See the help section for the meaning of the second parameter. You can then sort on the third column to get what you want.
Code: Select all
=WEEKDAY(A2;1)
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.