Sie sind auf Seite 1von 5

Grouping a Sharepoint list by Month Name & Year | Blog

Page 1 of 5

(http://www.iotap.com/)

BLOG (http://www.iotap.com/Blog.aspx) |CAREERS


(http://www.iotap.com/Careers/LifeIOTAP.aspx)|STORE (http://www.iotap.com/LinkClick.aspx?
link=787&tabid=1407&portalid=2&mid=3438)|CONTACT (http://www.iotap.com/LinkClick.aspx?
link=%2fcontact-us%2fcontact-request&tabid=1407&portalid=2&mid=3438)|FORUMS
(http://www.iotap.com/LinkClick.aspx?link=1275&tabid=1407&portalid=2&mid=3438)
Register (http://www.iotap.com/my-account/new-user-account?returnurl=http%3a%2f%
2fwww.iotap.com%2fblog)
|
Login (http://www.iotap.com/login?returnurl=%2fblog%2fentryid%2f96%2fgrouping-a-sharepointlist-by-month-name-year-)

BLOG

(Ratings: 14 Avg: 2.36)


Rate It!

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

Grouping a Sharepoint list by Month Name & Year | Blog

Page 2 of 5

Sharepoint Upgrade (8) (http://www.iotap.com/blog/categoryid/52/default)


Office 365 (24) (http://www.iotap.com/blog/categoryid/53/office-365)
Sharepoint-2013 (20) (http://www.iotap.com/blog/categoryid/54/sharepoint-2013)
Windows Azure (3) (http://www.iotap.com/blog/categoryid/55/windows-azure)
SharePoint Apps (14) (http://www.iotap.com/blog/categoryid/56/sharepoint-apps)
CRM 2013 (9) (http://www.iotap.com/blog/categoryid/57/default)
Work 365 TIME (5) (http://www.iotap.com/blog/categoryid/58/default)
CRM Online (15) (http://www.iotap.com/blog/categoryid/62/crm-online)
CRM 2016 (6) (http://www.iotap.com/blog/categoryid/71/default)
Report Scheduler (6) (http://www.iotap.com/blog/categoryid/74/default)
Microsoft Dynamics 365 (2) (http://www.iotap.com/blog/categoryid/87/default)

Grouping a Sharepoint list by Month Name & Year


Wednesday, January 21, 2009 4:06 AM -

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

Grouping a Sharepoint list by Month Name & Year | Blog

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

TAGS: Sharepoint (http://www.iotap.com/blog/tag/sharepoint)

Share this post

http://www.iotap.com/blog/entryid/96/grouping-a-sharepoint-list-by-month-name-year- 11/16/2016

Grouping a Sharepoint list by Month Name & Year | Blog

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)

Possibly related posts:


Identifying queries running slower than normal
(http://www.iotap.com/blog/entryid/49/identifying-queries-running-slower-than-normal)
Working on how to show different views of SharePoint lists into page by ID in SharePoint
hosted Apps (http://www.iotap.com/blog/entryid/273/list-view-based-by-id-instead-of-defaultview-in-sharepoint-hosted-apps)
How we can Create WebSlices in Internet Explorer 8 Beta
(http://www.iotap.com/blog/entryid/109/how-we-can-create-webslices-in-internet-explorer-8beta)
Migerate secondary domain controller to primary domain controller and primary domain
controller into secondary domain controller (http://www.iotap.com/blog/entryid/58/migeratesecondary-domain-controller-to-primary-domain-controller-and-primary-domain-controllerinto-secondary-domain-controller)
CRM Picklist and the StringMap Table (CRM 4.0) (http://www.iotap.com/blog/entryid/22/crmpicklist-and-the-stringmap-table-crm-4-0-)

http://www.iotap.com/blog/entryid/96/grouping-a-sharepoint-list-by-month-name-year- 11/16/2016

Grouping a Sharepoint list by Month Name & Year | Blog

Page 5 of 5

Comments
Got something to say? Join the discussion

Leave a Reply
Nickname (*)

Email (*)

Privacy & Terms


(http://www.google.com/intl/en/policies/)

Type the text


Your Comment

Submit Comment [Quick Submit with Ctrl+Enter]


Remember my details
Notify me of followup comments via e-mail

Copyright 2015

Privacy Statement (http://www.iotap.com/privacy)

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

Das könnte Ihnen auch gefallen