Beruflich Dokumente
Kultur Dokumente
Page 1 of 5
(http://www.iotap.com/)
BLOG
Share It!
Search Posts
Microsoft Dynamics CRM (68) (http://www.iotap.com/blog/categoryid/4/ms-crm)
Quality Assurance & Quality Control (17) (http://www.iotap.com/blog/categoryid/34/default)
SharePoint-2010 (46) (http://www.iotap.com/blog/categoryid/29/default)
Uncategorized (4) (http://www.iotap.com/blog/categoryid/3/default)
Microsoft Sharepoint (76) (http://www.iotap.com/blog/categoryid/30/microsoft-sharepoint)
Project Management (1) (http://www.iotap.com/blog/categoryid/31/project-management)
CRM 2011 (7) (http://www.iotap.com/blog/categoryid/41/default)
http://www.iotap.com/blog/entryid/96/grouping-a-sharepoint-list-by-month-name-year- 11/16/2016
Page 2 of 5
anonymous
(http://www.iotap.com/tabid/673/authorid/-1/anonymous) -
Microsoft Sharepoint
(http://www.iotap.com/blog/categoryid/30/microsoft-sharepoint) -
0 Comments
(http://www.iotap.com/blog/entryid/96/grouping-a-sharepoint-list-by-month-nameyear-#Comments)
Sharepoint custom list data can be easily grouped on any column of our choice. We had a
requirement to group a custom list based on Month Name and year from a date column for
which we had to create a calculated column and tweak it. This blog explains how this was
achieved
1. Create a new calculated column in the Sharepoint list.
2. In the formula for the calculated column use the TEXT function to extract the month name
from the date column.The syntax for TEXT function is
TEXT(ColumnName,format)
For extracting the full month name use MMMM or use MMM for 3 letter month names.
For example
Text(StartDate, MMMM) will return January whereas Text(StartDate, MMM) will return
Jan
3. Use the YEAR function to extract the year from the date column.
4. The complete formula for the calculated column will be as shown below
http://www.iotap.com/blog/entryid/96/grouping-a-sharepoint-list-by-month-name-year- 11/16/2016
Page 3 of 5
=TEXT(StartDate,MMMM)&-&YEAR(StartDate)
5. The calulcated(Events) column will now show month name and year as seen in the image
below
6. Now when we create a view and group it by the calculated column(Events) the view will
display data as shown below
http://www.iotap.com/blog/entryid/96/grouping-a-sharepoint-list-by-month-name-year- 11/16/2016
Page 4 of 5
Twitter
LinkedIn
Digg
Delicious
(https://twitter.com/share?
(http://www.linkedin.com/shareArticle?
(http://digg.com/submit?
(http://del.icio.us/post?
status=http://www.iotap.com/blog/entryid/96/groupingFacebook Google+ mini=true&url=http://www.iotap.com/blog/entryid/96/groupingStumble phase=2&url=http://www.iotap.com/blog/entryid/96/gr
url=http://www.iotap.com/blog/entryid/96/g
a(http://www.facebook.com/share.php?
(https://plusone.google.com/_/+1/confirm?
a(http://www.stumbleupon.com/submit?
aasharepoint-u=http://www.iotap.com/blog/entryid/96/groupingurl=http://www.iotap.com/blog/entryid/96/groupingsharepoint-url=http://www.iotap.com/blog/entryid/96/groupingsharepoint-sharepointlist-byaalist-byalist-bylist-bymonth- sharepoint-sharepoint- month- sharepoint- monthmonthnamelist-bylist-bynamelist-bynamenameyear-&text=Grouping+a+Sharepoint+list+by+Month+Name+%
monthmonth- year-&title=Grouping+a+Sharepoint+list+by+Month+Name+%
month- year-&title=Grouping+a+Sharepoint+list+by+Month+Na
year-&title=Grouping+a+Sharepoint+list+by+
26amp%
namename26amp%
name26amp% 26amp%
3b+Year+&hashtags=Sharepoint)
year-)
year-) 3b+Year+) year-) 3b+Year+) 3b+Year+) ShareThis
Pinterest
(http://pinterest.com/pin/create/button/?
url=http://www.iotap.com/blog/entryid/96/groupingasharepointlist-bymonthnameyear-&description=Grouping+a+Sharepoint+list+by+Month+Name+%
26amp%
3b+Year+&media=http://www.iotap.com/Portals/2/companyevents1_blog.jpg)
Embedding Popfly Block within Sharepoint Page
(http://www.iotap.com/blog/entryid/97/embedding-popfly-block-within-sharepoint-page)
Blocking Anonymous Users from Sharepoint List Pages
(http://www.iotap.com/blog/entryid/95/blocking-anonymous-users-from-sharepoint-list-pages)
http://www.iotap.com/blog/entryid/96/grouping-a-sharepoint-list-by-month-name-year- 11/16/2016
Page 5 of 5
Comments
Got something to say? Join the discussion
Leave a Reply
Nickname (*)
Email (*)
Copyright 2015
Terms Of Use
(http://www.iotap.com/terms)
http://www.iotap.com/blog/entryid/96/grouping-a-sharepoint-list-by-month-name-year- 11/16/2016